hi all! i'm pretty new to linux and just installed a mandrake 8.1 on a little machine in my network. I got the samba server up and running and it even is visible in my windows network folder. but when i try to connect from windows 2000 sp3 the server refuses my login attempts even root... any idea? /christian
This is EXACTLY what I am getting... The first time I try to join the domain, I get back "The RPC server is not available"... the next time, I get: "The parameter is incorrect" Looking at the packet dump, the first time through, after the DCERPC bind ack, Win2K sends an SAMR request of 62 which is unknown, SAMBA replies with a DCERPC fault. Then, the next sequence it sends the proper SAMR of 57 which is CONNECT2. Samba comes back with ACCESS_DENIED for the CREATE_USER2_IN_DOMAIN, after I enter "root" and the right password, and my logs show: [2002/08/29 12:20:35, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2002/08/29 12:20:35, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(573) add_smbfilepwd_entry: unable to open file. [2002/08/29 12:20:35, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(1929) Failed to add entry for user win2k$. I've attached my smb.conf file. Can anybody help with this? I have the user "root" in smbpasswd. This is something stupid, I know... On 28 Aug 2002 at 17:02, Christian Sch?fer wrote:> hi all! > > i'm pretty new to linux and just installed a mandrake 8.1 on a little > machine in my network. I got the samba server up and running and it > even is visible in my windows network folder. > but when i try to connect from windows 2000 sp3 the server refuses my > login attempts even root... > > any idea? > /christian-------------- next part -------------- # Samba config file created using SWAT # from linux (127.0.0.1) # Date: 2002/08/29 15:00:25 # Global parameters [global] workgroup = SAMBA_DOMAIN netbios name = LINUXSERVER server string = %h (Samba Server %v) interfaces = eth0 lo bind interfaces only = Yes encrypt passwords = Yes allow trusted domains = No map to guest = Bad Password null passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes restrict anonymous = Yes log file = /var/log/samba/%m.log max log size = 0 protocol = LANMAN2 large readwrite = Yes max protocol = LANMAN2 name resolve order = wins host lmhosts bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 load printers = No add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u domain logons = Yes os level = 65 lm announce = True lm interval = 120 preferred master = True domain master = True dns proxy = No wins proxy = Yes wins support = Yes admin users = root hosts allow = 192.168.0.1 127.0.0.1 hosts deny = all printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [netlogon] path = /home/netlogon write list = root
joshuajunk@cybertrails.com
2002-Aug-29 20:53 UTC
[Samba] Win2000SP3 can't connect to Samba
Christian, If I understand you correctly you are entering your unix passwords when prompted and they are being refused. The reason that it will not take the passwords is probably because you have not setup a samba user these are separate from the unix accounts on the system. To add a samba user you can use the command "smbadduser". If you have already done this and it still isn't working please send the general portion of your smb.conf file along with the share definition. Hope this helps you, Joshua> hi all! > > i'm pretty new to linux and just installed a mandrake 8.1 on a little > machine in my network. I got the samba server up and running and it > even is visible in my windows network folder. > but when i try to connect from windows 2000 sp3 the server refuses my > login attempts even root... > > any idea? > /christian > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba