Hi, The login script is just a DOS batch file. Login as Administrator, browse to //server/netlogon and create/edit users.bat with Notepad or Windows Write. Make sure you save it as plain text.
This is part of mine: REM Clear previous mappings if present. NET USE * /DEL /YES REM Set the workstation's time. NET TIME \\server /SET /YES REM Map the user's home directory. NET USE H: \\server\home I hope this gets you started. Sandy McCarthy ([EMAIL PROTECTED]) wrote: > > Sorry to post a newbie question which may of been asked before but I am struggling to > get my head around how to get login scripts to work using samba. > > I am currently testing Suse Standard Server 8 which comes with Samba 2.2.8a-UL. Using > the Suse graphical web interface I can setup users and groups and also setup smb > shares. > I have told the linux server to act as a PDC. I can't find anywhere to configure > login > scripts. Also when I make changes in the graphical interface, it doesn't seem to > update > right away. Is this due to samba needing to be restarted after every change. If so > how > does this affect currently connected users? > > Back to login scripts, Drive p: gets mapped automatically which is referenced in my > smb.conf (copy below) > > [global] > add user script=/usr/sbin/addsmbmachine2ldap %m > admin users=administrator > character set= > client code page=437 > domain admin [EMAIL PROTECTED] root > domain logons=Yes > domain master=Yes > encrypt passwords=Yes > ldap admin dn=uid=cyrus,dc=abesco,dc=net > ldap del only sam attr=Yes > ldap filter=(&(uid=%u)(objectclass=sambaAccount)) > ldap port=389 > ldap server=localhost > ldap ssl=No > ldap suffix=dc=abesco,dc=net > logon drive=p: > logon home=\%L%U > logon path=\%L%U.msprofile > logon script=users.bat > map to guest=Bad User > os level=255 > preferred master=Yes > printcap name=CUPS > printer [EMAIL PROTECTED] > printing=CUPS > security=user > socket options=SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY > time server=Yes > unix extensions=Yes > username map=/etc/samba/smbusers > veto files=/*.eml/*.nws/riched20.dll/*./ > wins support=Yes > workgroup=ABESCO > > [netlogon] > comment=Network Logon Service > path=/var/lib/samba/netlogon > browseable=No > <SNIP> -- Assured Computing, Inc. When you need to be sure. http://www.assuredcomp.com/ P.O. Box 40814 Eugene, OR 97404 Voice - 541-868-0331 FAX - 541-463-1627 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
