[Samba] Problem adding Worstation

Bruno MACADRE bruno.macadre at univ-rouen.fr
Thu May 5 08:42:02 MDT 2011


Hi !

     I've got a server with Samba 3.5.3 with LDAP backend running on it.

     When I want to add a workstation I've got a strange result

     First there is the workstation LDAP account :

dn: cn=TOTO$,ou=machines,o=ADM-SC,dc=univ-rouen,dc=fr
objectClass: top
objectClass: person
objectClass: posixAccount
objectClass: sambaSamAccount
cn: TOTO$
sn: TOTO$
uid: TOTO$
uidNumber: 5037
gidNumber: 5000
loginShell: /bin/false
homeDirectory: /dev/null
gecos: Machine TOTO
sambaSID: S-1-5-21-1597492338-1443626506-322857960-11074

     When I do the 'smbpasswd -am TOTO' I've got no error but my 
workstation account becomes a user account !!!
     When I do 'pdbedit -v TOTO$' I've got this result :

smbldap_search_domain_info: Searching 
for:[(&(objectClass=sambaDomain)(sambaDomainName=ADM-SC))]
smbldap_open_connection: connection opened
init_sam_from_ldap: Entry found for user: TOTO$
init_group_from_ldap: Entry found for group: 5000
init_group_from_ldap: Entry found for group: 5000
init_group_from_ldap: Entry found for group: 5000
Unix username:        TOTO$
NT username:          TOTO$
Account Flags:        [U          ]
User SID:             S-1-5-21-1597492338-1443626506-322857960-11074
Primary Group SID:    S-1-5-21-1597492338-1443626506-322857960-515
Full Name:            TOTO$
Home Directory:       \\cpd-adm-sc\toto_
HomeDir Drive:        Z:
Logon Script:         toto_.bat
Profile Path:         \\cpd-adm-sc\profile\toto_
Domain:               ADM-SC
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    Thu, 05 May 2011 16:12:37 CEST
Password can change:  Thu, 05 May 2011 16:12:37 CEST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

-- 

Bruno MACADRE
-------------------------------------------------------------------
  Ingénieur Systèmes et Réseau     | Systems and Network Engineer
  Département Informatique         | Department of computer science
  Responsable Réseau et Téléphonie | Telecom and Network Manager
  Université de Rouen              | University of Rouen
-------------------------------------------------------------------
Coordonnées / Contact :
	Université de Rouen
	Faculté des Sciences et Techniques - Madrillet
	Avenue de l'Université - BP12
	76801 St Etienne du Rouvray CEDEX
	FRANCE

	Tél : +33 (0)2-32-95-51-86
	Fax : +33 (0)2-32-95-51-87
-------------------------------------------------------------------




More information about the samba mailing list