Unable To Save Profiles with nis homedir

From: Charles Kendricks (cktech_at_charter.net)
Date: 07/08/04


Date: 8 Jul 2004 10:40:58 -0700

I am running samba 2.2.7 with a RH9 linux PDC and one other (at least
for now) samba server. I am trying to split the home directories up
amongst the two servers, utilizing a homedir map. What I notice is
that when I login to the domain for the first time with a user id that
is mapped to the non-PDC samba server, a directory is created for the
user at the path specifiec by the Profiles share, but it seems that
nothing is stored there when the user logs out, so that the next time
he/she logs in they get the "unable to find server copy of profile"
message. My smb.conf on the non-PDC server is below, which was just
copied from the PDC with the appropriate PDC parameters commented out
:

# samba configuration file
#
[global]
 
        ;basic server settings
        workgroup = TAS
        netbios name = armstrong
        ;server string = Samba PDC running %v
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
 
        ;PDC and master browser settings
        ;os level = 64
        ;preferred master = yes
        ;local master = yes
        ;domain master = yes
        ;domain logons = yes
 
        ;security and logging settings
        security = domain
        password server = *
        encrypt passwords = yes
        log file = /var/log/samba/log.%m
        log level = 2
        max log size = 50
        hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
 
        ;user profiles and home directory
        logon path = \\%N\profiles\%U
        logon script = logon.bat
 
        ;attempt to map home directory to drive H
        logon drive = B:
        logon home = \\%N\%u
 
        ;NIS home directories and map designation
        nis homedir = yes
        homedir map = amd.home
 
 
# ==== shares ====
 
[homes]
        comment = Home Directories
        path = /home/%u
        browseable = no
        writeable = yes
 
[profiles]
        path = /home/samba/profiles
        writeable = yes
        browseable = no
        create mask = 0600
        directory mask = 0700
 
[netlogon]
        comment = Network Logon Service
        path = /home/netlogon
        read only = yes
        browseable = no
        write list = root



Relevant Pages

  • Re: Connecting and authentication on server
    ... I've set up my samba server. ... Anyway the samba server works. ... I set up the smbpassd file etc and went to the windows ... Windows XP one and a SUSE. ...
    (microsoft.public.windowsxp.basics)
  • Re: Connecting and authentication on server
    ... I've set up my samba server. ... I have 2 machines the ... Anyway the samba server works. ... I set up the smbpassd file etc and went to the windows ...
    (microsoft.public.windowsxp.basics)
  • Re: Unix/Linux accounts integrated within AD?
    ... Now configure your server to add Active Directory DNS Suffix ... Now configure your SAMBA server as password server by ... Some of them I am mentioning below, however I haven't yet used them: ...
    (Security-Basics)
  • Unable To Save Profiles with nis homedir
    ... I am running samba 2.2.7 with a RH9 linux PDC and one other (at least ... for now) samba server. ... I am trying to split the home directories up ... is mapped to the non-PDC samba server, a directory is created for the ...
    (comp.os.linux.setup)
  • Re: [SLE] secondary distros
    ... A Window's game machine ... A dial in server ... Another Samba server with a smaller drive and a burner as a network backup machine ... > Anyway, I used to think this way, have one working system play with the ...
    (SuSE)