[Samba] Login Problems from win 2003 (Ad) to Samba 3

Ryan Magill Ryan.Magill at sangers.co.uk
Fri Mar 11 11:29:35 GMT 2005


Hello,
 
I'm a newbie to samba so I'll shall try and explain this as best I can.
 
Aim : to share unix files and printers across my active directory domain.
 
I currently have samba 3.0.11 installed and running on a Solaris 9 machine. I can see this server from the network neighbourhood but I get prompted for a password while logging onto any of the samba server. I followed the instructions at 
 
http://www.rongage.org/manual_samba_howto.html. 
 
One problem I have with the above instructions is when I make the changes to the /etc/nsswitch.conf file
 
passwd:    compat winbind
group :      compat winbind
 
This changes my root login and i need to copy the old nwwsitch file back in. so that passwd points to 'files'.  I have tried googling on various aspects of this problem but just seem to find people asking similar questions without answers.
 
Any help greatly appreciated.
 
Client PCs - win XP /2000
Server - windows 2003 server Active Directory.
 
smb.conf:
 
# Global parameters
[global]
unix charset = LOCALE
workgroup = SANGERS
realm = SANGERS.LOCAL
security = ADS
password server = sangersdc1.sangers.local
username map = /usr/local/samba/bin/smbusers
log file = /var/log/samba/%m
max log size = 50
printcap name = CUPS
os level = 10
dns proxy = No
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
winbind separator = +
winbind use default domain = Yes
printing = cups
print command = /usr/bin/lp -d '%p' %s; rm %s
lpq command = /usr/bin/lpstat -o '%p'
lprm command = /usr/bin/cancel '%p-%j'
lppause command = lp -i '%p-%j' -H hold
lpresume command = lp -i '%p-%j' -H resume
queuepause command = /usr/bin/disable '%p'
queueresume command = /usr/bin/enable '%p'

[extra]
comment = Public Stuff
path = /extra
read only = No
guest ok = Yes

[homes]
comment = Home Directories
valid users = No
read only = No
browseable = No

[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
admin users = root, Administrator
write list = root

 
 

Ryan Magill 
Systems Administrator 

Sangers NI Ltd 
2 Marshalls Rd 
Belfast BT5 6SR 

(02890401111 
<mailto:ryan.magill at sangers.co.uk> 

 
 


More information about the samba mailing list