Results 1 to 8 of 8

Thread: Samba Roaming profile issue

  1. #1

    Samba Roaming profile issue

    I am running samba PDC on CentOS 5.4 64 bits machine , i have created Samba as PDC server per this linuxhomenetworking site only and my windows client machine easily joins this domain but when i logged in it shows me error roaming profile can not updatting and when i check in the log here is the errror.

    Code:
    [2010/01/04 16:53:32, 1] smbd/service.c:make_connection_snum(1033)
    abhishek (192.168.16.117) connect to service test4 initially as user test4 (uid=690, gid=690) (pid 8647)
    [2010/01/04 16:53:32, 0] smbd/posix_acls.c:create_canon_ace_lists(1438)
    create_canon_ace_lists: unable to map SID S-1-5-21-144265192-2488348622-4110138419-2380 to uid or gid.
    testparm
    Load smb config files from /etc/samba/smb.conf
    Processing section "[printers]"
    Processing section "[homes]"
    Processing section "[netlogon]"
    Processing section "[profiles]"
    Loaded services file OK.
    Server role: ROLE_DOMAIN_PDC
    Press enter to see a dump of your service definitions
    [global]
    workgroup = EXAMPLE.COM
    netbios name = SAMBADC
    server string = Samba Server Version %v
    interfaces = lo, eth1
    add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    hosts allow = 127., 192.168.16., 192.168.17.
    cups options = raw

    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

    [homes]
    read only = No
    create mask = 0644
    browseable = No

    [netlogon]
    path = /home/samba/netlogon
    guest ok = Yes

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

    ls -l /home/samba
    total 8
    drwxr-xr-x 2 root root 4096 Jan 4 12:22 netlogon
    drwxr-xr-x 2 root root 4096 Jan 4 12:27 profiles

  2. #2
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    Have you tried making /home/samba/netlogon and /home/samba/profiles world writeable so the profiles can be automatically written to by the users when they log in? That could be it.

  3. #3
    yes i already changed that permission for chmod 1777 /home/samba/profiles but that did not help and still getting roaming problem not updating error

  4. #4
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    Never tried implementing roaming profiles in a Samba PDC domain. I have done Samba file servers integrated with AD using posix ACL's, which solved a lot of issues arising from using basic UGO permissions in the multiuser env. My first guess from the error message is that you need to enable ACL's on that machine.
    jro - http://jeff.robbins.ws
    Linux counter#:213782
    GnuPG ID: 406238E7

  5. #5
    My problem has been resolved automatically i formatted the system and install CentOS 5.4 again just slitely changed / remove profiles tag in smb.conf file and all set.

    Code:
    testparm 
    Load smb config files from /etc/samba/smb.conf
    Processing section "[printers]"
    Processing section "[homes]"
    Processing section "[netlogon]"
    Loaded services file OK.
    Server role: ROLE_DOMAIN_PDC
    Press enter to see a dump of your service definitions
    [global]
    workgroup = EXAMPLE.COM
    netbios name = SAMBADC
    server string = Samba Server Version %v
    interfaces = lo, eth1
    add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    hosts allow = 127., 192.168.16., 192.168.17.
    cups options = raw
    
    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No
    
    [homes]
    read only = No
    create mask = 0644
    browseable = No
    
    [netlogon]
    path = /home/samba/netlogon
    guest ok = Yes
    
    [profiles]
    path = /home/samba/profiles
    read only = No
    create mask = 0600
    directory mask = 0700
    
    ls -l /home/samba
    total 8
    drwxr-xr-x 2 root root 4096 Jan 4 12:22 netlogon

  6. #6
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    What changes did you make to the [profiles] tab? It looks the same to me.

  7. #7
    I removed [profiles] tag completely from the smb.conf as it was written in the file itself that it goes bydefault to /home dir if we do not enable this feature and finally that writing error resolved which was coming previously to me when i set to /home/samba/profiles.
    Code:
    testparm 
    Load smb config files from /etc/samba/smb.conf
    Processing section "[printers]"
    Processing section "[homes]"
    Processing section "[netlogon]"
    Loaded services file OK.
    Server role: ROLE_DOMAIN_PDC
    Press enter to see a dump of your service definitions
    [global]
    workgroup = EXAMPLE.COM
    netbios name = SAMBADC
    server string = Samba Server Version %v
    interfaces = lo, eth1
    add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    hosts allow = 127., 192.168.16., 192.168.17.
    cups options = raw
    
    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No
    
    [homes]
    read only = No
    create mask = 0644
    browseable = No
    
    [netlogon]
    path = /home/samba/netlogon
    guest ok = Yes
    
    ls -l /home/samba
    total 8
    drwxr-xr-x 2 root root 4096 Jan 4 12:22 netlogon

  8. #8
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    Hmm, interesting, glad to hear you got it worked out
    jro - http://jeff.robbins.ws
    Linux counter#:213782
    GnuPG ID: 406238E7

Similar Threads

  1. Issue with .profile file execution.
    By sourav in forum Linux - General Topics
    Replies: 0
    Last Post: 07-15-2013, 01:25 PM
  2. Roaming and Mandatory profile in linux ?
    By kanata in forum Redhat / Fedora
    Replies: 1
    Last Post: 03-09-2009, 10:45 PM
  3. not run .profile
    By sabre in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 08-31-2006, 02:54 PM
  4. Home network samba/hostname issue?
    By toddah in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 09-08-2005, 07:39 PM
  5. how to delete profile
    By elovkoff in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-21-2004, 01:57 AM

Bookmarks

Posting Permissions

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