Hi, I've configured Samba as PDC. It is to serve Windows 98/2000/XP workstations. Firstly everything works fine but with adding new users to the domain there occurs serious trouble. The network printers begin to refuse access. And then I noticed that the workstations begin to refuse access too. smb.conf --- [global] netbios name = OBLR workgroup = X125 server string = Samba PDC os level = 99 preferred master = yes domain master = yes local master = yes wins support = yes security = user encrypt passwords = yes domain logons = yes logon path = \\%N\profiles\%u logon drive = H: logon home = \\oblr\%u logon script = scripts\%U.cmd socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 bind interfaces only = yes interfaces = 10.109.0.1/255.255.255.0 preserve case = yes short preserve case = yes case sensitive = no client code page = 866 character set = KOI8-R guest account = guestuser log level = 2 log file = /usr/local/samba/var/log.%m enhanced browsing = yes time server = yes name resolve order = lmhosts host wins bcast [netlogon] comment = Network Logon Service path = /usr2/samba/netlogon readonly = yes write list = ntadmin guest ok = yes share modes = no [profiles] comment = User profiles browseable = no guest ok = yes writable = yes path = /usr2/samba/ntprofiles read only = no create mask = 0600 directory mask = 0700 logon script = start.bat [public] comment = PUBLIC path = /usr2/public public = yes writable = yes printable = no directory mask = 0770 create mask = 0770 [local] comment = SIT path = /usr3/films public = no writable = no printable = no directory mask = 0770 create mask = 0770 valid users = to01 to02 to03 anv siriy laa bas pc2 sdtu05 vad sdtu_tm write list = to01 to02 to03 anv siriy laa bas pc2 vad [asu] comment = ASU path = /usr2/asu public = no writable = no printable = no directory mask = 0770 create mask = 0770 valid users = laa anv odst siriy ods04 oper01 oper02 tre02 tre04 tre01 write list = laa anv odst siriy ods04 oper01 oper02 tre02 tre04 tre01 --- Thank you for your help, Sergey
Hi Sergey, we have the same problem, but I got no answer to my posting here yet :-(( If you are working with Samba 2.2.x you should take a look at etc/passwd and etc/samba/smbpasswd and check if there are dupes of the UID. Maybe it helps. G?tz --------------------------------------------------------------------------- ----------------------------- Hi, I've configured Samba as PDC. It is to serve Windows 98/2000/XP workstations. Firstly everything works fine but with adding new users to the domain there occurs serious trouble. The network printers begin to refuse access. And then I noticed that the workstations begin to refuse access too. smb.conf --- [global] netbios name = OBLR workgroup = X125 server string = Samba PDC os level = 99 preferred master = yes domain master = yes local master = yes wins support = yes security = user encrypt passwords = yes domain logons = yes logon path = \\%N\profiles\%u logon drive = H: logon home = \\oblr\%u logon script = scripts\%U.cmd socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 bind interfaces only = yes interfaces = 10.109.0.1/255.255.255.0 preserve case = yes short preserve case = yes case sensitive = no client code page = 866 character set = KOI8-R guest account = guestuser log level = 2 log file = /usr/local/samba/var/log.%m enhanced browsing = yes time server = yes name resolve order = lmhosts host wins bcast [netlogon] comment = Network Logon Service path = /usr2/samba/netlogon readonly = yes write list = ntadmin guest ok = yes share modes = no [profiles] comment = User profiles browseable = no guest ok = yes writable = yes path = /usr2/samba/ntprofiles read only = no create mask = 0600 directory mask = 0700 logon script = start.bat [public] comment = PUBLIC path = /usr2/public public = yes writable = yes printable = no directory mask = 0770 create mask = 0770 [local] comment = SIT path = /usr3/films public = no writable = no printable = no directory mask = 0770 create mask = 0770 valid users = to01 to02 to03 anv siriy laa bas pc2 sdtu05 vad sdtu_tm write list = to01 to02 to03 anv siriy laa bas pc2 vad [asu] comment = ASU path = /usr2/asu public = no writable = no printable = no directory mask = 0770 create mask = 0770 valid users = laa anv odst siriy ods04 oper01 oper02 tre02 tre04 tre01 write list = laa anv odst siriy ods04 oper01 oper02 tre02 tre04 tre01 --- Thank you for your help, Sergey -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message.
Sorry for misleading. I meant the printers not connected to the server but ones on the workstations. To add new users and machines I use the following shell scripts: add-user.sh --- : /usr/sbin/pw user add -n $1 -g soe /usr/bin/passwd $1 ./smbpasswd -a $1 cp /usr2/samba/templates/logon.cmd /usr2/samba/netlogon/scripts/$1.cmd --- add-machine.sh --- : /usr/sbin/pw user add $1$ -g ntusers -d /dev/null -s /sbin/nologin ./smbpasswd -a -m $1 --- I use: FreeBSD 4.8-STABLE Samba 2.8.8 (the same problem on the version 3.0.24)>How do you add new users? I didn't see shares named [printers] or >[homes] in the posted smb.conf. > >And not knowing the exact difference, shouldn't >the line >logon home = \\oblr\%u >better read >logon home = \\oblr\%U > >Best regards,>Wolfi
I tryed to decrease users number but it didn't help. In order to check a network printer connected to a workstation I had to leave at least 2 workstations. I meant the network printers not connected to the server but ones connected to workstations. Thomas Wong wrote:>What happens when you go back to having one user on the list only? Does >it work again or is it still failing? > > >