[K12OSN] unusual error in smbldap useradd bulk

Krsnendu dasa krsnendu108 at gmail.com
Sat Mar 17 05:41:45 UTC 2007


I just ran smbldap-useradd-bulk -f file.in -o file.out -m
Everything went fine except for one user.
Every line is formatted the same but still for one user I got an
error. Anything to worry about?

Line 13 out of 74 users.
Amitoj,Singh,amitoj,525,,,,password

Amitoj, Singh, amitoj, 525, /bin/bash, /home/amitoj, , password
id: amitoj: No such user
Use of uninitialized value in numeric ne (!=) at
./smbldap-useradd-bulk line 329, <INPUT> line 74.
Use of uninitialized value in concatenation (.) or string at
./smbldap-useradd-bulk line 330, <INPUT> line 74.
Use of uninitialized value in concatenation (.) or string at
./smbldap-useradd-bulk line 330, <INPUT> line 74.

The errors were encountered during processing:
ownership of /home/amitoj (u: 1232, g: 525) doesn't match the
user/group of amitoj (u: , g: )
[root at k12ltsp1 smbldap-installer]# smbldap-usershow amitoj
dn: uid=amitoj,ou=Users,dc=harekrishna,dc=school,dc=nz
objectClass: top,person,organizationalPerson,inetOrgPerson,posixAccount,shadowAccount,sambaSamAccount
cn: amitoj
sn: amitoj
givenName: amitoj
uid: amitoj
uidNumber: 1232
gidNumber: 525
homeDirectory: /home/amitoj
loginShell: /bin/bash
gecos: Amitoj Singh
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
displayName: Amitoj Singh
sambaSID: S-1-5-21-614884169-236735677-808652166-3464
sambaPrimaryGroupSID: S-1-5-21-3526296067-2545244986-3525108052-2051
sambaLogonScript: startup.bat
sambaProfilePath: \\HKSCHOOL-PDC\profiles\amitoj
sambaHomePath: \\HKSCHOOL-PDC\homes\amitoj
sambaHomeDrive: u:
sambaLMPassword: 30BBB8A2E8307FBFAAD3B435B51404EE
sambaAcctFlags: [U]
sambaNTPassword: A6E6021D054263DEE43121CC7904D4AA
sambaPwdLastSet: 1174109129
sambaPwdMustChange: 9814022729
userPassword: {SSHA}X35d+Q2XttkzO0sjMbYKIBD7hz1sZUkx




More information about the K12OSN mailing list