robowarp@gmx.de
2003-Jun-24 18:26 UTC
[Samba] smb.conf suse 8.2 samba 3 beta cvs pdc german umlauts working
hi @ll this is working smb.conf samba beta 3 cvs version 22 jun from ftp.suse.com suse 8.2 minimal inst with additional glib locale , client win2000 serv pack 3 german umlauts work in windows ( after all for ? you see on linux etc) the name of machine is linux.linux.org a bind 9 is on the linux machine too to make dns resolving login domain works roaming profile works netlogon script works with usrmgr.exe add user work add group work delete group work add user to group work delete user from group work chmod -R 0777 /var/lib/samba/profiles insmod /lib/modules/2.4.20-4GB/kernel/fs/nls/nls_iso8859-15.o /etc/pam.d/login is #%PAM-1.0 auth requisite pam_unix2.so nullok #set_secrpc auth required pam_securetty.so auth required pam_nologin.so #auth required pam_homecheck.so auth required pam_env.so auth required pam_mail.so account required pam_unix2.so password required pam_pwcheck.so nullok password required pam_unix2.so nullok use_first_pass use_authtok session required pam_unix2.so none # debug or trace session required pam_limits.so # password-sync # # A sample PAM configuration that shows the use of pam_smbpass to make # sure private/smbpasswd is kept in sync when /etc/passwd (/etc/shadow) # is changed. Useful when an expired password might be changed by an # application (such as ssh). auth requisite pam_nologin.so auth required pam_unix.so account required pam_unix.so password requisite pam_cracklib.so retry=3 password requisite pam_unix.so shadow md5 use_authtok try_first_pass password required pam_smbpass.so nullok use_authtok try_first_pass session required pam_unix.so this is what i done and tested, but i just looked that it is working ,i think things can be tuned much more # Samba config file created using SWAT # from 10.10.30.101 (10.10.30.101) # Date: 2003/06/22 23:08:41 # Global parameters [global] netbios name = linux large readwrite = yes dos charset = ISO8859-15 unix charset = CP850 display charset = CP850 workgroup = LINUX interfaces = lo, eth2 bind interfaces only = Yes server schannel = Yes passdb backend = smbpasswd:/etc/samba/smbpasswd, guest pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *password* %n\n *password* %n\n *changed* username map = /etc/samba/smbusers unix password sync = Yes log level = 2 syslog = 0 log file = /var/log/samba/%m name resolve order = wins bcast hosts time server = Yes keepalive = 255 socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192 load printers = No printcap name = cups add user script = /usr/sbin/useradd -m %u ###############################################################not #working #delete user script = /usr/bin/smbpasswd -x %u #delete user script = /usr/sbin/userdel -r %u ############################################################### add group script = /usr/sbin/groupadd -r %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/bin/gpasswd -a %u %g delete user from group script = /usr/bin/gpasswd -d %u %g set primary group script = /usr/sbin/usermod -g '%g' '%u' add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %u shutdown script = /sbin/shutdown abort shutdown script = /sbin/shutdown -c logon script = login.bat logon path = \\linux\profiles\%u logon drive = Z: logon home = \\linux\%u domain logons = Yes os level = 255 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap ssl = no add share command /usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl change share command /usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl delete share command /usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl utmp = Yes host msdfs = Yes idmap uid = 15000-20000 idmap gid = 15000-20000 admin users = root hosts allow = 127., 10.10.30. use sendfile = Yes veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [homes] comment = Home Directories read only = No create mask = 0640 directory mask = 0750 browseable = No nt acl support = no blocking locks = No csc policy = disable locking = No oplocks = No level2 oplocks = No posix locking = No strict locking = No share modes = No [netlogon] comment = Netlogon Share path = /var/lib/samba/netlogon write list = root guest ok = Yes nt acl support = No browseable = No blocking locks = No csc policy = disable locking = No oplocks = No level2 oplocks = No posix locking = No strict locking = No share modes = No [profiles] comment = Roaming Profile Share path = /var/lib/samba/profiles read only = No create mask = 0600 directory mask = 0700 nt acl support = no blocking locks = No csc policy = disable locking = No oplocks = No level2 oplocks = No posix locking = No strict locking = No share modes = No -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!