[K12OSN] Help....smbldap-installer and roaming profiles....Ineedhelp to fix

Brian Chivers brian at portsmouth-college.ac.uk
Mon Feb 7 15:48:16 UTC 2005


Jim Kronebusch wrote:
>> Anyway...I could really use some help trying to debug this
>> situation....not only for me, but for all of us.  Plus I'm
>> supposed to be teaching a class about it in 2 weeks....(hence
>> the panicking)....I tested everything except roaming profiles
>> and never would have even thought to check if it hadn't been
>> for Jim K.  I have a functioning Samba/LDAP server already
>> thus I hadn't needed to try it, but I do need to fix this as
>> I run Windows roaming profiles and will need it to work when
>> I upgrade this
>> summer.  Arrrgghhh!   Any help gratefully appreciated
>
> Does anyone have a smb.conf from a system that is currently working
> with roaming profiles, preferably the newest version but I'll take
> one from
> 2.x if that is all there is.  I have been reading through the
> following link on roaming profiles with smb 3.x
> http://samba.vernstok.nl/htmldocs/howto/ProfileMgmt.html#id2575046
> The resulting smb.conf seems to be missing things that look like they
> are needed.  One thing that really catches my attention is it says
> that 2000/XP machines need to have encrypted password turned on to
> work. Also that security = user should be set.  Anyhow I would like
> to see one that is working and compare to what is on our new setup.
>
> Thanks
>
>> ....If you go to
>> Linux World I'll buy you a beer.  :-)
>
> PS: I usually drink screwdrivers :-)  But am far from fixing this.

This is a working smb.conf from samba 2.2.7 with Win 2k clients & roaming
profiles acting as a PDC

# Samba config file created using SWAT
# from UNKNOWN (0.0.0.0)
# Date: 2001/06/25 12:50:27

# Global parameters
[global]
 name resolve order = lmhosts hosts wins bcast
 passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
 time server = yes
 passwd program = /usr/bin/passwd %u
 dns proxy = no
 nt acl support = yes
 netbios name = rho
 writable = yes
 logon script = logon.bat
 local master = yes
 workgroup = TANGIER
 debug level = 1
 os level = 64
 security = user
 max log size = 1000
 domain admin group = +admin_users
 log file = /var/log/samba/log.%m
 socket options = TCP_NODELAY SO_RCVBUF=8192
 logon drive = P:
 username map = /etc/samba/smbusers
 domain master = yes
 interfaces = 192.168.0.21/255.255.0.0 192.168.0.20/255.255.0.0
 encrypt passwords = yes
 logon home = \\%L\%u
 password level = 1
 wins support = true
 netbios aliases = rho-pc PDC pdc
 server string = Tangier
 unix password sync = no
 logon path = \\%L\profiles\%u
 add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
 comment = Rho Samba Server
 domain logons = yes

[homes]
    comment = Home Directories
    root preexec = csh -c 'echo "`date`: %u connected from %m (%I)" >>
/var/log/samba/login.log' ; csh -c '/etc/samba/bin/connectionmgr connect %u'
    root postexec = csh -c 'echo "`date`: %u disconnected from %m (%I)" >>
/var/log/samba/login.log' ; csh -c '/etc/samba/bin/connectionmgr disconnect
%u'
    path = %H
    valid users = %S
    create mask = 0700
    directory mask = 0700
    browseable = No
    veto files = /Launch Outlook Express.lnk/

[netlogon]
 browseable = no
 comment = On the fly creation off Logon script
 locking = no
 public = no
 create mode = 757
 path = /home/netlogon
 write list = brian,steve

[ucas]
 available = yes
 comment = Ucas
 path = /home_staff/ucas
 browseable = no

[oasis]
 locking = no
 read list = opacs, at student
 path = /home/library/oasis
 write list = steve,brian, at computing, at opacs, at admin_users
 comment = Library Catalogue
 user = steve,brian, at student, at library, at computing, at admin_users

[kudos]
 read list = @student
 comment = Careers Kudos Software
 path = /home_staff/kudos
 browseable = no
 write list = @staff

[profiles]
 oplocks = no
 browseable = no
 locking = no
 writable = yes
 writeable = yes
 delete readonly = yes
 path = /home/profiles
 comment = Users Roaming Profiles
 create mode = 0600
 directory mode = 0700

Brian


---------------------------------------------------------------
    The views expressed here are my own and not necessarily 
                the views of Portsmouth College             




More information about the K12OSN mailing list