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 -------------- next part -------------- HTML attachment scrubbed and removed
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
--On Tuesday, October 29, 2002 10:24 PM -0600 Brandon Hagedorn <bhagedor@iastate.edu> 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 >