Find the answer to your Linux question:
Results 1 to 3 of 3
Greetings I am a relative noob at this Linux thing, and a first-timer at Samba. I have the samba server up and running, and the windows and linux machines can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    3

    xp cannot find roaming profile on samba srv


    Greetings
    I am a relative noob at this Linux thing, and a first-timer at Samba.
    I have the samba server up and running, and the windows and linux machines can both access shares on each other. SELinux is installed but disabled. My windows box is running XP pro, and it has been successfully entered into the domain.
    My problem is that when I try to log in to the domain from my xp box, I get an error message:
    "Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile."
    then another error;
    "Windows cannot find your local profile and is logging you on with a temporary one."
    We get this message at work when roaming profiles have corrupted, but that is on Windows servers. I suspect this is to do with either the paths I have specified in samba.conf, or that there is no default profile specified.
    Any help would be most welcome.

    my samba.conf;
    _____________________________________________

    #Global parameters
    [global]
    workgroup = workgroup
    netbios name = littlewhite
    encrypt passwords = yes
    ;this tells samba that security must be set to user level
    security = user

    ;samba is the domain and local master browser
    os level = 65
    preferred master = yes
    domain master = yes
    local master = yes
    domain logons = yes
    logon path = \\%l\profiles\%u

    ;automatically maps the home directory of the user, can be any drive letter that you want. \\littlewhite is the samba server netbios name.
    logon drive = h:
    logon home = \\littlewhite\%u
    hosts allow = 127.0.0.1 192.168.1.99

    #does not seem to like these although they are from a set example
    ;domain admins
    ;domain admin group = @littlewhite
    ;domain admin users = root

    ;necessary share for domain logon
    [netlogon]
    ; comment = netlogon service
    path = /home/netlogon
    guest ok = no
    writable = no
    share modes = no

    [profiles]
    path = /home/profiles
    read only = no
    create mask = 0600
    directory mask = 0700

    [homes]
    path = /home
    read only = no
    browsable = no

    [music]
    path = /data/mp3
    browsable = yes
    write list = mattoid

    [apps]
    path = /data/apps
    browsable = yes
    valid users = @admins, root
    write list = @admins, root

    [everyone]
    path = /data
    read only = no
    browsable = yes

  2. #2
    Just Joined! watchman's Avatar
    Join Date
    Apr 2006
    Location
    Maine, USA
    Posts
    10
    Some simple things to check. (If you have already done these then don't be offended).

    1. Make sure that the user exists in smbpasswd

    smbpasswd -a username

    2. make sure that the home directory exists and is owned by the user

    mkdir /home/username
    chown username /home/username


    3. If the home directory was copied from a windows box, change owner with the recursive option.

    chown -R username /home/username

    We have a samba PDC here and whenever I see that error it is because of one of the above.

  3. #3
    Just Joined!
    Join Date
    Apr 2006
    Posts
    3
    Watchman
    thanks for the post;
    I re-ran all three as you suggest, all seem ok. I managed to copy a profile from windows into the /home directory by creating a user named 'root' on the windows machine with the same password as on he samba server. I still get the same error message when I try to log onto the domain. Also, the option to change to a roaming profile is greyed out.
    Can you tell me; should I be able to log directly into the samba box with the unix username/password created for samba?

    thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •