Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux domain logon

Status
Not open for further replies.

psintern

Technical User
Jul 31, 2003
4
US
I finally got all of the compuers in my office connected to the Linus domain I just built. I'm using it as the PDC. After getting all the computers connected to it, I restarted them, and when the logon screen came up, it denied access for any of my users to logon. any suggestions or hints?
 
This is actually a bug for the Samba Forum, however did you create a smbuser for each user that needs to logon to the domain. There are 2 sets of users, linux system users and samba users.

For each user on the linux system that needs to login, make sure you add the user using smbpasswd.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
I setup a Redhat 9 server that runs as a Samba 2.2.7a PDC. Well, it is supposed to run as a PDC but when I try to get my WinXP Pro machine to join the Binkhorst DOMAIN, it returns an error message the domain cannot be found.
My smb.conf is set like this:

Code:
[global]
	; use the name of your Samba server
	; and your own Workgroup
	netbios name = Binkhorst-000-PDC
	workgroup = Binkhorst
	encrypt passwords = yes
	
	domain master = yes
	local master = yes
	preferred master = yes
	os level = 65
	
	security = user
	domain logons = yes
	
	; logon path tells Samba where to put Windows NT/2000/XP roaming profiles
	logon path = \\%L\profiles\%u\%m
	logon script = logon.bat
	
	logon drive = H:
	
	; logon home is used to specify home directory and
	; Windows 95/98/Me roaming profile location
	logon home = \\%L\%u\.win_profile\%m
	
	time server = yes
	
	; use the names of all users in the Windows NT/2000/XP
	; Administrators group who log on to the domain
	domain admin group = root dennis
	
	; the below works on Red Hat Linux - other OSs might need a different command
	add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

[netlogon]
	path = /usr/local/samba/lib/netlogon
	writable = no
	browsable = no
	
[profiles]
	; you might wish to use a different directory for your
	; Windows NT/2000/XP roaming profiles
	path = /home/samba-ntusers
	browsable = no
	writable = yes
	create mask = 0600
	directory mask = 0700
	
[homes]
	read only = no
	browsable = no
	quest ok = no
	map archive = yes

When searching for machines in the BINKHORST workgroup I can see the Samba machine (Binkhorst-000-p), and I can access the shares when logging in as a user that's in the smbpasswd file.

So, I created a user in the smbpasswd-file that is called Binkhorst-001-d$ after my WinXP machine's NETBIOS name and I edited the registry at the 'requiresignorseal' key.

What to do?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top