Displaying 1 result from an estimated 1 matches for "studentnum".
2005 Jun 29
3
Samba PDC w/ LDAP & Mass Adding Users
...e the
standard Linux 'adduser' command to add users to the system. I am now
switching everything over to LDAP, including Samba.
I have modified the custom Perl script to add users in bulk for
smbldap-tools.
system("smbldap_tools/smbldap-useradd -a -g students -c
\"$Ofirst,$Olast,$studentnum\" -C '\\\\FILESERVER\\homes\\$username' -d
$homedir/$username -m $username");
I also create a group entry for students:
dn: cn=students,ou=Groups,dc=test-mcc,dc=edu
objectClass: posixGroup,sambaGroupMapping
cn: students
gidNumber: 1113
sambaSID: S-1-5-21-2737720518-3188833511-10...