[Samba] estrange behavior with some users

Cristian Saavedra
Sat, 02 Mar 2013 17:18:53 -0000

Hello list

We have migrated from our samba 3 domain to samba 4 and we are still trying to
figure somethings

I have two servers, one is my domain pdc named dominio, my other one is a
fileserver with samba 3.6.6 named srvfs

So, i've joined srvfs to my domain using net ads and everything is ok, i can
see the users and validate them

But i have a particular case with a few users, this is the case

If i check the user ulisesbonilla on my domain, i can see this.

root at dominio samba]# pdbedit -Lv ulisesbonilla
Unix username:        ulisesbonilla
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-3380525496-3468030855-4252408690-5324
Primary Group SID:    S-1-5-21-3380525496-3468030855-4252408690-513
Full Name:            ulisesbonilla
Home Directory:       \\DOMINIO\ulisesbonilla
HomeDir Drive:        H:
Logon Script:         scripts\magaly.bat
Profile Path:
Domain:
Account desc:         ulisesbonilla
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Mon, 18 Jan 2038 22:14:07 COT
Kickoff time:         Mon, 18 Jan 2038 22:14:07 COT
Password last set:    Sat, 02 Mar 2013 11:21:48 COT
Password can change:  Sat, 02 Mar 2013 11:21:48 COT
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
[root at dominio samba]#

on my fileserver (samba 3.6) i can see the user

[root at srvfs ~]# net ads user info ulisesbonilla
Domain Users
SIIF
TerminalServer
politicas2
Logisticag

But when the user tries to validate the samba always says NT_ACCESS_DENIED

When i try to retrieve the user using getent passwd it returns nothing

[root at srvfs log]# getent passwd ulisesbonilla
[root at srvfs log]#

however i can retrieve other users:

[root at srvfs log]# getent passwd balco3
balco3:*:16777221:16777220::/home/balco3:/bin/bash
[root at srvfs log]#

There are a few users with this problem, has someone any suggestion?

Thanks in advanced