frustrated and lost

Amol Karnik amol at
Thu Oct 1 16:05:11 GMT 1998

ok i'm getting closer to setting samba as a PDC on a sun machine
now...thanks to all, for your patience and understanding...its tough
stuff you know, especially when i have no idea what i'm doing.

now, i have security = server, password server = sambaserverhostname and 
encrypt passwords turned off.

i'm testing everything using smbclient on the same machine ( the samba
server )
i can do for eg,

smbclient '\\blue\tmp' and it asks me for my passwd and puts me in /tmp
i can do this for some users, and not for others.... whats going on

of the users i can do this for, i had specifically run smbpasswd to
change the passwd in the private/smbpasswd file. for one, the fields are
still XXX's. the same as when i ran mksmbpasswd on the /etc/passwd file.
these all work ok... so that means that a smbpasswd doesnt need to be

now for one user, it just wont log him in. i tried leaving the smpasswd
entry intact ( all XXXXX's) and also by running smbpasswd and changing
the password.

from the logs i gathered that there were some lines which said 

[1998/10/01 11:45:31, 3] libsmb/namequery.c:(481)
  resolve_name: Attempting lmhosts lookup for name BLUE
[1998/10/01 11:45:31, 4] libsmb/namequery.c:(317)
  startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts.
Error was No such file or directory
[1998/10/01 11:45:31, 3] libsmb/namequery.c:(464)
  resolve_name: Attempting host lookup for name BLUE
[1998/10/01 11:45:31, 1] smbd/password.c:(947)
  Password server loop - disabling password server BLUE
[1998/10/01 11:45:31, 0] smbd/password.c:(959)
  password server not available
[1998/10/01 11:45:31, 3] smbd/negprot.c:(409)
  Selected protocol NT LANMAN 1.0
[1998/10/01 11:45:31, 5] smbd/negprot.c:(416)
  negprot index=7
[1998/10/01 11:45:31, 5] lib/util.c:(955)

this doesnt happen to other users. i tried logging on from a win95
machine and it let me login ok ,and when i browsed over to the samba
server, it had automatically given me my home dir.
it doesnt do it for this one person however.

any clues folks?



More information about the samba-ntdom mailing list