Re: [Samba] please help me..... : now its done

2003-02-06 Thread Adil Hussain
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

Re: [Samba] please help me.....

2003-02-04 Thread Adil Hussain
yes both the accounts of user exist for linux and for
samba.
plese see the log below, check is it ok everything??
log---
[root@LinuxBox /]# smbpasswd root
New SMB password:
Retype new SMB password:
Password changed for user root.
Password changed for user root.
[root@LinuxBox /]# passwd root
Changing password for user root.
New password: 
Retype new password: 
passwd: all authentication tokens updated
successfully.
[root@LinuxBox /]# passwd root$
Changing password for user root$.
New password: 
Retype new password: 
passwd: all authentication tokens updated
successfully.
[root@LinuxBox /]# 
log---

the user exist, becasue i get this error just when i
give correct password and user name. and
when i give wrong password or user name or both then
it gives me the error 
Logon Failure : Unknown user name or bad password

will be very Thankfull for any help
best regards
Adil

--- Bradley W. Langhorst [EMAIL PROTECTED] wrote:
 On Tue, 2003-02-04 at 00:38, Adil Hussain wrote:
  i want to configure samba as PDC .i installed the
  samba on the linux box machine and configure it
  accordingly.
  I am trying to connect the windows 2000(server) as
 a
  client of this domain.
  when i press ok after writing the domain name at
 the
  windows 2000 (as a client). It gives me a window ,
  asking for the Name and Password and when i give
 it
  the root/[password] to it, it says 
  
  The following error occured attempting to join the
  domain [domain name]
  The specified user does not exist.
 are you sure that the root user exists in smbpasswd?
 check to be sure that you are not disallowing the
 root user in smb.conf.
 
 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



[Samba] RE: problem connecting the win2k client to samba server atlinux

2003-02-04 Thread Adil Hussain
i am using win2k server, i counldnt found the the key 
signorseal in the registery the only key i found was

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\SeCEdit\Reg
Values\MACHINE/System/CurrentControlSet/Services/Netlogon/Parameters/RequireSignOrSeal

and four values in front of this key 
(Default) REG_SZ   (Value not set)
DisplayName REG_SZ Secure channel: Digitally encrypt
or sign secure channel data(always)
DisplayType REG_DWORD 0x (0)
ValueType REG_DWORD 0x (4)

i changed the value 4 -- 0 but its still not working
there are also some other values named
requiresignorseal in registery but all are already
zero.

please see the log of change password which i have
sent to the list. that all accounts are there.
any other thing you want ... please tell me

Thanks and reagards
Adil

--- Lloyd Anderson [EMAIL PROTECTED]
wrote:
 Hi there,
 
 I did manage to solve the problem. The steps to take
 are the following:
 
 1. Make sure a machine account exists in /etc/passwd
 (eg. machine_name$, the
 dollar ($) sign is important)
 2. Make sure the machine account does NOT exist in
 /etc/samba/smbpasswd.
 3. Edit the registry on the win2k client (or XP
 client), search for
 signorseal (one word) and change the values to 0
 (zero). (This normally
 works if you change the first one only, but
 sometimes you need to change all
 the occurences.)
 4. Join the domain, when it asks for a username or
 password, use root and
 your root password.
 
 I hope this helps.
 
 Regards,
 Lloyd Anderson
 NetworksOnline - Information is the Solution
 A Division of CDR-Technologies
 
 T: +27 11 886 7644
 F: +27 11 886 7643
 C: +27 82 896 5196
 E: [EMAIL PROTECTED]
 W: www.networksonline.co.za
 
 ---
 
 -Original Message-
 From: Adil Hussain [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 03, 2003 4:14 PM
 To: [EMAIL PROTECTED]
 Subject: problem connecting the win2k client to
 samba server at linux
 
 
 hi Lloyd Anderson,
 
 my name is adil.
 you had some problem with samba connecting the win2k
 client as the link below
 

http://lists.samba.org/pipermail/samba-ntdom/2002-January/054484.html
 
 i just wanted to know that have you solved the
 problem
 and if yes how did you solve the problem.
 i am also getting the same type of problem.
 thanks
 best regards
 Adil
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up
 now.
 http://mailplus.yahoo.com
 


__
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



[Samba] Not able to login to Samba PDC : The specified user does notexist

2003-02-04 Thread Adil Hussain
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] please help me.....

2003-02-04 Thread Adil Hussain
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?

thanks 
best regards
Adil
--- Bradley W. Langhorst [EMAIL PROTECTED] wrote:
  .
  [root@LinuxBox /]# passwd root$
  Changing password for user root$.
  New password: 
  Retype new password: 
  passwd: all authentication tokens updated
  successfully.
 why are you creating this root$ user?
 I don't recommend having a machine named root.
 you should be creating a machine account for
 your machine with its name
 eg
 if your machine is named windowsbox
 there should be an account called
 windowsbox$ in /etc/passwd
 and another one in /etc/smbpasswd
 
 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



Re: [Samba] please help me.....

2003-02-04 Thread Adil Hussain
please also see my smb.conf file, is there any problem
due to any misconfiguration.
thanks
Adil

-smb.conf--

[global]
   netbios name = BIGSERVER
   workgroup = BarbedWires
   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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] help needed : Error : The specified user does not exist.

2003-02-03 Thread Adil Hussain
i want to configure samba as PDC .i installed the
samba on the linux box machine and configure it
accordingly.
I am trying to connect the windows 2000(server) as a
client of this domain.
when i press ok after writing the domain name at the
windows 2000 (as a client). It gives me a window ,
asking for the Name and Password and when i give it
the root/[password] to it, it says 

The following error occured attempting to join the
domain [domain name]
The specified user does not exist.


please help me in this regard becuase i tried many
tutorials to solve this problem, but its still
annoying me.
thnaks
best regards
Adil


__
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



[Samba] please help me.....

2003-02-03 Thread Adil Hussain
i want to configure samba as PDC .i installed the
samba on the linux box machine and configure it
accordingly.
I am trying to connect the windows 2000(server) as a
client of this domain.
when i press ok after writing the domain name at the
windows 2000 (as a client). It gives me a window ,
asking for the Name and Password and when i give it
the root/[password] to it, it says 

The following error occured attempting to join the
domain [domain name]
The specified user does not exist.


please help me in this regard becuase i tried many
tutorials to solve this problem, but its still
annoying me.
thnaks
best regards
Adil


__
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



help needed : Error : The specified user does not exist.

2003-02-03 Thread Adil Hussain
i want to configure samba as PDC .i installed the
samba on the linux box machine and configure it
accordingly.
I am trying to connect the windows 2000(server) as a
client of this domain.
when i press ok after writing the domain name at the
windows 2000 (as a client). It gives me a window ,
asking for the Name and Password and when i give it
the root/[password] to it, it says 

The following error occured attempting to join the
domain [domain name]
The specified user does not exist.


please help me in this regard becuase i tried many
tutorials to solve this problem, but its still
annoying me.
thnaks
best regards
Adil


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com