okay ....the problem has solved. now the client is
connecting to the domain. by creating machine name
different from the user account. below is log file
which i have done. 

Thank you very much brad

i think all is ok here :

-----------smb.conf-------------------------------

[root@LinuxBox root]# useradd adil         
[root@LinuxBox root]# passwd adil
Changing password for user adil.
New password: 
Retype new password: 
passwd: all authentication tokens updated
successfully.
[root@LinuxBox root]# smbpasswd -a adil
New SMB password:
Retype new SMB password:
Added user adil.

[root@LinuxBox root]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
vcsa:x:69:69:virtual console memory
owner:/dev:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
sshd:x:74:74:Privilege-separated
SSH:/var/empty/sshd:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/bin/bash
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
rpcuser:x:29:29:RPC Service
User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS
User:/var/lib/nfs:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
postgres:x:26:26:PostgreSQL
Server:/var/lib/pgsql:/bin/bash
apache:x:48:48:Apache:/var/www:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
squid:x:23:23::/var/spool/squid:/dev/null
webalizer:x:67:67:Webalizer:/var/www/html/usage:/sbin/nologin
adil:x:500:500::/home/adil:/bin/bash

[root@LinuxBox root]# useradd adilspc$
[root@LinuxBox root]# passwd adilspc$
Changing password for user adilspc$.
New password: 
Retype new password: 
passwd: all authentication tokens updated
successfully.
[root@LinuxBox root]# smbpasswd -a adilspc$
New SMB password:
Retype new SMB password:
Added user adilspc$.

[root@LinuxBox root]# vi /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
vcsa:x:69:69:virtual console memory
owner:/dev:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
sshd:x:74:74:Privilege-separated
SSH:/var/empty/sshd:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/bin/bash
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
rpcuser:x:29:29:RPC Service
User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS
User:/var/lib/nfs:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
postgres:x:26:26:PostgreSQL
Server:/var/lib/pgsql:/bin/bash

[root@LinuxBox root]# vi /etc/samba/smbpasswd
root:0:C737062C3CF68ED8AAD3B435B51404EE:1C5D097D2FF79E7C114C030C09CADA9A:[UX
        ]:LCT-3E3BF2E3:

-----------smb.conf-------------------------------

--- "Bradley W. Langhorst" <[EMAIL PROTECTED]> wrote:
> ]On Tue, 2003-02-04 at 16:52, Adil Hussain wrote:
> > yes you are right there is no need for this
> account ,
> > i only need account of root user, but i am still
> > confuse about how many account i need and what
> type
> > of.
> > my windows box name is adil, please tell me how
> many
> > accounts i need and of what privilege. 
> > also when i give right login/password it says "The
> > specified user does not exist" and when i give
> wrong
> > Login or password or both it says "Logon failure :
> > unknown user name or bad password" 
> > why is it so behaviour?
> okay
> the computer names should not be the same as
> usernames (it's too
> confusing - see the relevant rfc on computer naming)
> 
> you need 2 accounts for every user (one samba
> account, one unix account)
> with the same username.
> 
> In addition you need 2 accounts for every machine in
> the domain (samba
> and unix)  these must look like machinename$
> 
> I use ldap for my accounts db so I can have one
> account per user
> instead.
> 
> so for your account 
> you need a useraccount "adil" in the unix
> /etc/passwd and also in
> /etc/smbpasswd
> in addition you need  you need
> "adilspc$" in both password databases.
> 
> to do the domain joining you need the root account
> to be in both
> /etc/passwd and /etc/smbpasswd.
> 
> 
> this is all covered in the howto collection...
> 
> brad
> 
> -- 
> Bradley W. Langhorst <[EMAIL PROTECTED]>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to