[Samba] Machine can login, Machine(s) cant.
Here is my scenario; I have a FreeBSD 4.7 Release running Samba 2.2.6. I am using samba as a PDC. I have installed everything need including the Win XP Sign or seal registry patch. I added a one XP machine account for one machine, and it works fine. Logging in and mounting network drives with a netlogon script. As soon as I add another machine in the same subnet, different machine name, etc. I am not able to log into either of the two machines now. Here is the windows error that pops up. Windows cannot connect to the domain, either because the domain controller is down, or otherwise unavailable, or because your computer account was not found, Please try again later. If this message continues to appear, contact your system administrator for assistance. I have looked at the logs. nothing unusual as far as I can see. I have included my smb.conf file if this would help anyone. Any suggestions?? Sorry about the html e-mail the last time... [global] workgroup = DOMAINLOGON netbios name = GRUMPY server string = PDC encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n unix password sync = Yes log level = 2 log file = /var/log/samba/log.%m max log size = 1000 add user script = /usr/sbin/adduser -home /dev/null -group machines -shell /bin/false logon script = %U.bat logon path = \\%L\profiles\%U logon drive = h: domain logons = Yes os level = 64 preferred master = True domain master = True wins server = 129.186.142.179 [netlogon] browseable = no path = /raid/samba/netlogon write list = admin, flint, root [homes] comment = Home Directories read only = No browseable = No [profiles] path = /raid/samba/profiles browseable = no writable = yes read only = No create mask = 0600 directory mask = 0700 browseable = No [raid] path = /raid browseable = No read only = No vfs object = /usr/local/lib/samba/recycle.so vfs options = recycle=.recycle [private] path = /raid/samba/storage/private security= user browseable = No read only = no directory mask = 0700 valid users = test, flint, root, zack vfs object = /usr/local/lib/samba/recycle.so vfs options = recycle=.recycle [public] path = /raid/samba/storage/public browseable = No read only = no create mask = 0600 directory mask = 0700 valid users = test, flint, root, zack vfs object = /usr/local/lib/samba/recycle.so vfs options = recycle=.recycle -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Machine can login, Machine(s) cant.
On Tuesday 29 October 2002 09:46 am, Brandon Hagedorn wrote: Here is my scenario; I have a FreeBSD 4.7 Release running Samba 2.2.6. I am using samba as a PDC. I have installed everything need including the Win XP Sign or seal registry patch. I added a one XP machine account for one machine, and it works fine. Logging in and mounting network drives with a netlogon script. As soon as I add another machine in the same subnet, different machine name, etc. I am not able to log into either of the two machines now. Here is the windows error that pops up. Windows cannot connect to the domain, either because the domain controller is down, or otherwise unavailable, or because your computer account was not found, Please try again later. If this message continues to appear, contact your system administrator for assistance. I have looked at the logs. nothing unusual as far as I can see. I have included my smb.conf file if this would help anyone. Any suggestions?? From what I can see your smb.conf looks OK. We're running 3 offices from a Samba PDC, (samba-2.2.4_1) and it works fine. Did you create separate machine accounts for each machine in /etc/passwd? Does the 2nd machine report that it has joined the domain? We have about 50 XP machines here running from 2.2.4_1 and working fine. Here is the top of my smb.conf file... # Global parameters [global] workgroup = GROUP1 netbios name = UnixServer server string = Fileserver interfaces = 192.168.100.244/24 10.20.20.1 encrypt passwords = Yes domain logons = Yes domain master = Yes preferred master = Yes local master = Yes wins support = Yes os level = 65 logon script = %U.bat security = user logon drive = H: logon home = \\NEP-Unix\%u domain admin group = wheel Hope this helps, Jim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Machine can login, Machine(s) cant.
I created separate machine accounts looking like this: test-machine$:*:201:201::0:0:Machine account Test machine:/dev/null:false lexus$:*:201:201::0:0:Machine account for a Lexus:/dev/null:false and then proceed to make machine accounts with syntax of smbpasswd -a -m lexus$ And both machines reported that they joined the domain correctly. Seems weird that this would happen this way. Any suggestions on how to get at least on machine to login to the domain again... seems I have to reinstall samba for it to work again. (very, very strange.) Any suggestions are welcomed. Thanks again... - Brandon -Original Message- From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org] On Behalf Of Jim Durham Sent: Tuesday, October 29, 2002 4:48 PM To: Brandon Hagedorn; [EMAIL PROTECTED] Subject: Re: [Samba] Machine can login, Machine(s) cant. On Tuesday 29 October 2002 09:46 am, Brandon Hagedorn wrote: Here is my scenario; I have a FreeBSD 4.7 Release running Samba 2.2.6. I am using samba as a PDC. I have installed everything need including the Win XP Sign or seal registry patch. I added a one XP machine account for one machine, and it works fine. Logging in and mounting network drives with a netlogon script. As soon as I add another machine in the same subnet, different machine name, etc. I am not able to log into either of the two machines now. Here is the windows error that pops up. Windows cannot connect to the domain, either because the domain controller is down, or otherwise unavailable, or because your computer account was not found, Please try again later. If this message continues to appear, contact your system administrator for assistance. I have looked at the logs. nothing unusual as far as I can see. I have included my smb.conf file if this would help anyone. Any suggestions?? From what I can see your smb.conf looks OK. We're running 3 offices from a Samba PDC, (samba-2.2.4_1) and it works fine. Did you create separate machine accounts for each machine in /etc/passwd? Does the 2nd machine report that it has joined the domain? We have about 50 XP machines here running from 2.2.4_1 and working fine. Here is the top of my smb.conf file... # Global parameters [global] workgroup = GROUP1 netbios name = UnixServer server string = Fileserver interfaces = 192.168.100.244/24 10.20.20.1 encrypt passwords = Yes domain logons = Yes domain master = Yes preferred master = Yes local master = Yes wins support = Yes os level = 65 logon script = %U.bat security = user logon drive = H: logon home = \\NEP-Unix\%u domain admin group = @wheel Hope this helps, Jim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Machine can login, Machine(s) cant.
--On Tuesday, October 29, 2002 10:24 PM -0600 Brandon Hagedorn [EMAIL PROTECTED] wrote: I created separate machine accounts looking like this: test-machine$:*:201:201::0:0:Machine account Test machine:/dev/null:false lexus$:*:201:201::0:0:Machine account for a Lexus:/dev/null:false and then proceed to make machine accounts with syntax of smbpasswd -a -m lexus$ If that is not a typo, you have it wrong; when adding the machine account to the smbpasswd file, you leave off the dollar sign, so your command should read: smbpasswd -a -m lexus and it will appear in the file with the $ at the end... - john And both machines reported that they joined the domain correctly. Seems weird that this would happen this way. Any suggestions on how to get at least on machine to login to the domain again... seems I have to reinstall samba for it to work again. (very, very strange.) Any suggestions are welcomed. Thanks again... - Brandon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Machine can login, Machine(s) cant.
Here is my scenario; I have a FreeBSD 4.7 Release running Samba 2.2.6. I am using samba as a PDC. I have installed everything need including the Win XP Sign or seal registry patch. I added a one XP machine account for one machine, and it works fine. Logging in and mounting network drives with a netlogon script. As soon as I add another machine in the same subnet, different machine name, etc. I am not able to log into either of the two machines now. Here is the windows error that pops up. Windows cannot connect to the domain, either because the domain controller is down, or otherwise unavailable, or because your computer account was not found, Please try again later. If this message continues to appear, contact your system administrator for assistance. I have looked at the logs nothing unusual as far as I can see. I have included my smb.conf file if this would help anyone. Any suggestions?? [global] workgroup = DOMAINLOGON netbios name = GRUMPY server string = PDC encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n unix password sync = Yes log level = 2 log file = /var/log/samba/log.%m max log size = 1000 add user script = /usr/sbin/adduser -home /dev/null -group machines -shell /bin/false logon script = %U.bat logon path = \\%L\profiles\%U logon drive = h: domain logons = Yes os level = 64 preferred master = True domain master = True wins server = 129.186.142.179 [netlogon] browseable = no path = /raid/samba/netlogon write list = @admin, flint, root [homes] comment = Home Directories read only = No browseable = No [profiles] path = /raid/samba/profiles browseable = no writable = yes read only = No create mask = 0600 directory mask = 0700 browseable = No [raid] path = /raid browseable = No read only = No vfs object = /usr/local/lib/samba/recycle.so vfs options = recycle=.recycle [private] path = /raid/samba/storage/private security= user browseable = No read only = no directory mask = 0700 valid users = test, flint, root, zack vfs object = /usr/local/lib/samba/recycle.so vfs options = recycle=.recycle [public] path = /raid/samba/storage/public browseable = No read only = no create mask = 0600 directory mask = 0700 valid users = test, flint, root, zack vfs object = /usr/local/lib/samba/recycle.so vfs options = recycle=.recycle