Prev: Looking for AIX Users of Winbind -- Authorization and SSHProblems
Next: SMBCLIENT du, recurse and mask
From: Ryan Davis on 12 Nov 2009 18:50 Hi, I am finally biting the bullet and migrating our NT4 domain to Samba. I am using the following guide: http://vermeulen.ca/linux-windows-nt.html I installed a fresh copy of FC11 and installed samba 3 through yum. Hostname of the linux machine is LEONIDAS. the DOMAIN name is GENOME1. I created an account on the NT4 domain for a backup DC under the server name LEONIDAS. testparm returns that everything is ok. I get the following error when I try to join the Samba BDC to the NT4 PDC: [root(a)LEONIDAS ~]# net rpc join -I 199.45.176.40 -U administrator Enter administrator's password: Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_ NAME Unable to join domain GENOME1. I am confused with the netbios option in the smb.conf I have MYSERVER has the netbios name because it was my understanding that it had to be different from the hostname. However when i look on the NT4 domain I see that "myserver" (all lower case) was added to the list of servers and not LEONIDAS. Does my Netbios name in the smb.conf need to be identical to my hostname which is LEONIDAS? if I type net getlocalsid I get: [root(a)LEONIDAS ~]# net getlocalsid SID for domain MYSERVER is: S-1-5-21-3366965450-4066854703-1441022026 and if I change the smb.conf and change the netbios name to LEONIDAS I get: [root(a)LEONIDAS ~]# net getlocalsid [2009/11/12 14:49:48, 0] utils/net.c:166(net_getlocalsid) Can't fetch domain SID for name: LEONIDAS Thanks for any help or input you may have. Ryan Here is the output of testparm: [root(a)LEONIDAS ~]# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Loaded services file OK. Server role: ROLE_DOMAIN_BDC Press enter to see a dump of your service definitions [global] workgroup = GENOME1 netbios name = MYSERVER server string = Samba Server Version %v log file = /var/log/samba/log.%m max log size = 50 add user script = /usr/sbin/useradd "%u" -n -g users delete user script = /usr/sbin/userdel "%u" add group script = /usr/sbin/groupadd "%g" delete group script = /usr/sbin/groupdel "%g" delete user from group script = /usr/sbin/userdel "%u" "%g" add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M - d /nohome -s /bin/false "%u" domain logons = Yes os level = 40 domain master = No cups options = raw [homes] comment = Home Directories read only = No browseable = No browsable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No browsable = No -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |