Samba complains about password

Lee Havemann lee at hsh.com
Wed Aug 11 18:25:04 GMT 1999


>  From: owner-bsdi-users at mailinglists.org
>  [mailto:owner-bsdi-users at mailinglists.org]On Behalf Of Andy Malato
>  Sent: Wednesday, August 11, 1999 1:49 PM
>  To: BSDi Users
>  Subject: Samba complains about password
>  
>  
>  I have just installed Samba 2.0.5a on my BSDI 3.1 box.  I 
>  have loaded smbd and
>  nmbd as daemons from rc.local-- now my windows machines can 
>  see the samba server
>  and my samba server can see my windows machines, so that 
>  part is fine, however,
>  it prompts me for my password, but it tells me that its 
>  incorrect.  Here is a
>  listing of my smb.conf file:
>  
>  ---smb.conf---
>  
>  [global]
>    
>    
>     printing = bsd
>     printcap name = /etc/printcap
>     load printers = yes
>     guest account = pcguest
>     workgroup = agoron
>     security = share
>     domain master = yes
>     domain logons = yes
>        
>  [homes]
>     comment = Home Directories
>     browseable = no
>     read only = yes
>     create mode = 0750
>  
>  [printers]
>     comment = All Printers
>     browseable = no
>     printable = yes
>     public = yes
>     writable = no
>     create mode = 0700
>  
>  [tao]
>  comment = UNIX BOX
>  path = /
>  public = yes
>  writable = yes
>  printable = no
>  
>    
>    [tmp]
>     comment = Temporary file space
>     path = /tmp
>     read only = yes
>     public = yes
>  
>  
>  ---
>  I think it might have something to do with some other 
>  configuration, other than
>  smb.conf, but what other config files are used with samba?
>  Also when I was compiling the samba suite, it told me: 
>  WARNING!! this is a trap
>  door system, what exactly does that mean?
>  
>  Thanks in advance,
>  
>  	---Andy
>  --
>  To unsubscribe, send 'unsubscribe' to 
>  bsdi-users-request at mailinglists.org
>  Archives of this list can be found at:  



I have the same problem with a 4.0.1 and a 3.1 system. 
Try starting samba with a debug of 4 or better (smbd -D -d 4),
and logging in from a Windoze workstation and look 
at the log files. You will probably see an error like this:

----
[1999/08/09 13:27:04, 3] smbd/password.c:authorise_login(741)
ACCEPTED: validated uid ok as non-guest
[1999/08/09 13:27:04, 3] smbd/service.c:make_connection(386)
Connect path is /tmp
[1999/08/09 13:27:04, 0] smbd/uid.c:become_gid(105)
Couldn't set effective gid to 20 currently set to (real=0,eff=20)
[1999/08/09 13:27:04, 0] smbd/service.c:make_connection(425)
Can't become connected user!

-----


>From what I got from the samba list is that BSD seems to have a 
problem with samba's use of setreuid (and setregid?) system calls. 
I haven't been able to work around it at this time, but I am 
still trying.
	
FWIW, I also tried to compiling 2.0.5a on a 4.0.1 (fully 
patched) system, and I didn't even get through the config:


ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config

For now I am sticking with 1.9.18p10, but I am losing out on a 
lot of features. :-(







-----

Lee Havemann, Comp Ops Dir.    HSH Associates      (973) 838-3330
 Mailto: lee at hsh.com                           http://www.hsh.com
        "My opinions are probably not those of my employer"




More information about the samba-ntdom mailing list