slackware 9.1 and samba as pdc
hi everyone
i've got a real problem....i want to set up samba as a pdc for my home domain called : arbeitsgruppe (well....i know, not that best name). i have slackware 9.1 and installed samba 3 from the official slackware site... i configured the smb.conf as described below (output from testparm), i can access the the public,netlogon share with no problem but i can't register my win2k client to the domain, i always get the error, that the domain is not available.... on my samba server, i added a group computer, added my win2k client with adduser -g computer -s /bin/false name$, added the computer to samba with smbpasswd -m -a name and created a samba user, and enabled it i googled around for about 3 hours, but didn't find something helpful, so i really would appreciate, if you could help me.... no entry in hosts.deny, no iptables rules.... thx in advance for taking time # Global parameters [global] workgroup = ARBEITSGRUPPE server string = Samba Server log file = /var/log/samba.%m max log size = 50 logon path = \\%L\Profiles\%U domain logons = Yes os level = 65 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes hosts allow = 192.168.1., 127. [homes] comment = Home Directories read only = No browseable = No [netlogon] comment = Network Logon Service path = /domain/netlogon guest ok = Yes share modes = No [Profiles] path = /domain/profiles guest ok = Yes browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [public] comment = Public Stuff path = /data read only = No guest only = Yes guest ok = Yes ~ Read smbconfig, 43 lines, 752 chars the log.nmbd [2004/04/06 17:47:18, 0] nmbd/nmbd.c:terminate(54) Got SIGTERM: going down... [2004/04/06 17:47:20, 0] nmbd/nmbd.c:main(664) Netbios nameserver version 3.0.2a started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/04/06 17:47:20, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup ARBEITSGRUPPE on subnet 80.219.34.187 [2004/04/06 17:47:20, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup ARBEITSGRUPPE on subnet 192.168.1.1 [2004/04/06 17:47:20, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup ARBEITSGRUPPE on subnet UNICAST_SUBNET [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327) become_domain_master_browser_wins: Attempting to become domain master browser on workgroup ARBEITSGRUPPE, subnet UNICAST_SUBNET. [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341) become_domain_master_browser_wins: querying WINS server from IP 192.168.1.1 for domain master browser name ARBEITSGRUPPE<1b> on workgroup ARBEITSGRUPPE [2004/04/06 17:47:20, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup ARBEITSGRUPPE on subnet UNICAST_SUBNET [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) ***** Samba server M3 is now a domain master browser for workgroup ARBEITSGRUPPE on subnet UNICAST_SUBNET ***** [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup ARBEITSGRUPPE on subnet 80.219.34.187 [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 80.219.34.187 for domain master browser on workgroup ARBEITSGRUPPE [2004/04/06 17:47:20, 0]nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) ***** Samba server M3 is now a domain master browser for workgroup ARBEITSGRUPPE on subnet UNICAST_SUBNET ***** [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup ARBEITSGRUPPE on subnet 80.219.34.187 [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 80.219.34.187 for domain master browser on workgroup ARBEITSGRUPPE [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup ARBEITSGRUPPE on subnet 192.168.1.1 [2004/04/06 17:47:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 192.168.1.1 for domain master browser on workgroup ARBEITSGRUPPE [2004/04/06 17:47:24, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup ARBEITSGRUPPE on subnet 80.219.34.187 [2004/04/06 17:47:24, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup ARBEITSGRUPPE on subnet 192.168.1.1 [2004/04/06 17:47:28, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) ***** Samba server M3 is now a domain master browser for workgroup ARBEITSGRUPPE on subnet 80.219.34.187 ***** [2004/04/06 17:47:28, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) ***** Samba server M3 is now a domain master browser for workgroup ARBEITSGRUPPE on subnet 192.168.1.1 ***** [2004/04/06 17:47:43, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server M3 is now a local master browser for workgroup ARBEITSGRUPPE on subnet 80.219.34.187 ***** [2004/04/06 17:47:43, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server M3 is now a local master browser for workgroup ARBEITSGRUPPE on subnet 192.168.1.1 ***** |
[MCSE Talk] What is the client dns server of the windows 2000 machine set to?? You need dns to join the domain [/MCSE Talk]
I would look to setting up bind for name resolution... I would think that is where you problem is at. |
....hm, as far as i know...dns came with win2k, winnt used wins as its primary name resolution service....samba emulates a nt4 pdc so it uses wins...wins is activated, as we can see from the output from tesparm....[/MCSA TALK] ; )
|
Quote:
on win2k machine Is wins setup in the network properties on the machine?? Is netbios over tcp/ip enabled? On Samba Server - I would also be curious if disabling wins might work for you? I notice there is not a netbios name for ther server? have you tried adding one? I would also see if adding "local master = yes" changed any of your results. I will be willing to help you out.. Let me know if these options work or not. I have a potential customer I am trying to sell on removing 2k server and going with linux samba. (been trying to talk into for almost a year now), feel free to post back up if any of the following helps you or not! thanks trey |
Try going to My Computer --> Properties
Then go to Computer name, go ahead and change settings to join your new domain. When it asks you for username and password enter ROOT and the ROOT password. It will say welcome to the domain. Would you like to restart? Click ok. When it comes up, enter the username now that you were initially entering, it should work now. Good luck! |
@trey85stang
yep...the netbios name option was the missing thing i think at least, cause it's absolutely essential for the win2k client to connect to.... i used another config (where i set the netbios name) and it worked perfectly....roaming profiles, homedirectory, public...everything works i am just working at the login scripts...but this should not be that hard,...should just find some time ... ; ) besides....i am working too on a ad win2003 infrastructure (about 150 workstations) and i am glad, not to do this with samba....but in another small enterprise (about 10 clients) which is now running an nt4 pdc, i will substitute it with samba, cause for those purposes it works greatly and saves lots of money. ! for small enterprises ad is just an overkill.... |
I was curious, when you have SAMBA setup as a PDC, can Windows clients change their passwords from the workstations like they could with a normal Windows PDC?
|
Quote:
|
hey
sry....didn't see your post.. i created the following directories: /home/domain/profiles /home/domain/private /home/domain/netlogon (take care about the access right...) *********** groupadd computers useradd -g computers -s /bin/false name_of_the_workstation$ (do not forget the '$') smbpasswd -m -a name_of_the_workstation$ *********** useradd -g users -s /bin/false -d /home/domain/private/boemitsu boemitsu smbpasswd -a boemitsu (prompt for password) smbpasswd -e boemitsu *********** the testparm output from the working smb.conf is: U% is the substitute for username L% is the netbios name of the server...(this case: SIFF) [global] workgroup = DERUM netbios name = SIFF server string = Samba Server interfaces = 192.168.1.1/24 log file = /var/log/samba.%m max log size = 50 logon script = %U.bat logon path = \\%L\profiles\%U logon drive = Z: logon home = \\%L\private\%U domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins support = Yes admin users = root hosts allow = 192.168.1., 127.0.0.1 [private] comment = Home Directories path = /home/domain/private/%U read only = No browseable = No [netlogon] comment = Network Logon Service path = /home/domain/netlogon guest ok = Yes share modes = No [profiles] path = /home/domain/profiles read only = No guest ok = Yes browseable = No [public] comment = deRUM Collection path = /data read only = No guest only = Yes guest ok = Yes |
All times are GMT -5. The time now is 11:31 AM. |