Displaying 2 results from an estimated 2 matches for "seradd".
Did you mean:
useradd
2001 Oct 22
7
Add User Script
I am trying to read in a list of users from a file and automatically create
users from that. Here is what I thought would work:
#!/bin/sh
cat /mnt/PDC1-UsrSync/user.diff | while read Foo; do useradd $Foo; done
Contents of the user.diff file:
dccut
dclam
dcprep
dcshp
But here is what I get when I run the script:
> sh test.sh useradd: invalid user name `dccut ' useradd: invalid user name
`dclam ' useradd: invalid user name `dcprep ' useradd: invalid user name
`dcshp '
A...
2005 Aug 08
2
Can't join machines to a Samba PDC using LDAP
...to join a Win2K (fully patched)
client to the domain.]
The error I'm getting seems like it ought to be solvable, but I haven't
seen it anywhere on the net, though I've seen one pretty close (full log
below):
smbd[20039]: _samr_create_user: Running the command `/usr/sbin/smbldap-u
seradd -w "defiant$"' gave 1
It's clear from "slapd[13182]: conn=999 op=2 RESULT tag=103 err=8
text=modifications requir
e authentication" that I'm not getting logged into the ldap server.
Unfortunately, I don't know how or what to get more logging on to be
able to...