Adil Hussain
2003-Feb-04 20:07 UTC
[Samba] Not able to login to Samba PDC : The specified user does not exist
i also have the same problem but the error is
different, when i try to connect to Samab domain with
right login/password, it says "The specified user
doesnot exist"
and when i try to connect with wrong login or password
or both it says "Logon failure : user unknown or bad
password", also confirm me how many and which accounts
I need to connect win2k to the samba domain?
below is my smb.conf file::
[global]
netbios name = MyServer
workgroup = JCN
socket options = TCP_NODELAY IPTOS_LOWDELAY
SO_SNDBUF=8192 SO_RCVBUF=8192
;user profiles and home directory
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
logon script = netlogon.bat
admin users = root
domain logons = yes
;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes
;Security and logging settings
security = user
encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0
add user script = /usr/sbin/useradd -d /dev/null -g
machines -s /bin/false -M %u
;sync UNIX passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*passwd* %n\n
*Retype*new*UNIX*passwd* %n\n
*Enter*new*UNIX*password* %n\n
*Retype*new*UNIX*passwd* %n\n *passwd:
*all*authentication*tokens*updated*successfully*
[pub]
path = /home/public
browseable = yes
guest ok = yes
read only = no
writeable = yes
[homes]
comment = Home Directories
browsable = no
writeable = yes
[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = yes
write list = adil
browsable = no
[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Manjunath H N
2003-Feb-04 20:35 UTC
[Samba] Not able to login to Samba PDC : The specified user does notexist
On Wednesday, February 05, 2003 1:37 AM Adil Hussain <aadilhussain@yahoo.com> wrote: Create admin users in global section by default it is root smbpasswd root change the password & use this username & password to login to the domain -- Manjunath> i also have the same problem but the error is > different, when i try to connect to Samab domain with > right login/password, it says "The specified user > doesnot exist" > and when i try to connect with wrong login or password > or both it says "Logon failure : user unknown or bad > password", also confirm me how many and which accounts > I need to connect win2k to the samba domain? > > below is my smb.conf file:: > > > [global] > netbios name = MyServer > workgroup = JCN > socket options = TCP_NODELAY IPTOS_LOWDELAY > SO_SNDBUF=8192 SO_RCVBUF=8192 > > ;user profiles and home directory > logon home = \\%L\%U\.profile > logon drive = H: > logon path = \\%L\profiles\%U > logon script = netlogon.bat > > admin users = root > domain logons = yes > > ;PDC and master browser settings > os level = 64 > preferred master = yes > local master = yes > domain master = yes > > ;Security and logging settings > security = user > encrypt passwords = yes > log file = /var/log/samba/log.%m > log level = 2 > max log size = 50 > hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0 > > > add user script = /usr/sbin/useradd -d /dev/null -g > machines -s /bin/false -M %u > > > ;sync UNIX passwords > unix password sync = yes > passwd program = /usr/bin/passwd %u > passwd chat = *New*UNIX*passwd* %n\n > *Retype*new*UNIX*passwd* %n\n > *Enter*new*UNIX*password* %n\n > *Retype*new*UNIX*passwd* %n\n *passwd: > *all*authentication*tokens*updated*successfully* > > > > [pub] > path = /home/public > browseable = yes > guest ok = yes > read only = no > writeable = yes > > [homes] > comment = Home Directories > browsable = no > writeable = yes > > [netlogon] > comment = Network Logon Service > path = /home/netlogon > read only = yes > write list = adil > browsable = no > > > [profiles] > path = /home/samba/profiles > writeable = yes > browseable = no > create mask = 0600 > directory mask = 0700 > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.comDISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation.
Adam Smith
2003-Feb-04 23:53 UTC
[Samba] Not able to login to Samba PDC : The specified user does not exist
On Tue, Feb 04, 2003 at 12:07:32PM -0800, Adil Hussain said:> > add user script = /usr/sbin/useradd -d /dev/null -g > machines -s /bin/false -M %uWhat does this do exactly? I can see it runs this command as the user add script, but what sequence of events needs to happen for this to occur?> ;sync UNIX passwords > unix password sync = yes > passwd program = /usr/bin/passwd %u > passwd chat = *New*UNIX*passwd* %n\n > *Retype*new*UNIX*passwd* %n\n > *Enter*new*UNIX*password* %n\n > *Retype*new*UNIX*passwd* %n\n *passwd: > *all*authentication*tokens*updated*successfully*How and when does this work? If you specify a user's password upon creation of their account, you need to first (at least in my experience) specify a unix password, then a smbpasswd. How does this synchronization work, and what exactly does it do? Can it be used to synchronize other machines? -- Adam Smith Information Technology Officer SAGE Automation Ltd. adam.smith@sageautomation.com http://www.sageautomation.com