This has been working for me since 3.0.10:
add machine script = /usr/sbin/useradd -d /dev/null -g domaincomputers -s
/bin/false -M %u;passwd -l %u
Jim
when i was trying to add (join) windows xp
client(gari$) to samba pdc by using samba adminuser
and passwd ,i got the error invalid username.In
when i was trying to add (join) windows xp
client(gari$) to samba pdc by using samba adminuser
and passwd ,i got the error invalid username.In
serverside log file(/var/log/samba/gari.loh) it shows
gari$ invalid username.i am using samba 3.0.10 and
RHEL4 as samba server.my configuration file is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/11/2006 01:01 PM, ravi kumar escreveu:
when i was trying to add (join) windows xp
client(gari$) to samba pdc by using samba adminuser
and passwd ,i got the error invalid username.In
serverside log file(/var/log/samba/gari.loh) it shows
I am having some trouble with Samba 3.0.21b-2 as a PDC running on Fedora
core 5. In particular, on-the-fly creation of machine accounts using the
add machine script parameter does not seem to work. In smb.conf, I
have the following line:
add machine script = /usr/sbin/useradd -d /dev/null -g
I am having trouble getting samba to execute the add machine script
properly. It seems to be executing this script as a non-root user.
I am running trustix with the 2.4.30 kernel. Samba is version 3.0.14a.
Here is the output from testparm:
Load smb config files from /etc/samba/smb.conf
Hello
I set up a Samba 3 PDC with ldap backend. I created an script that adds
machine accounts. First it adds the machine account to /etc/passwd and
then it creates the user in ldap with smbpasswd -a -m machine.
If I run the script by hand, it works and the account has been added.
After that
* Lukas Meyer [EMAIL PROTECTED] nulis:
Hello
I set up a Samba 3 PDC with ldap backend. I created an script that adds
machine accounts. First it adds the machine account to /etc/passwd and
then it creates the user in ldap with smbpasswd -a -m machine.
If I run the script by hand, it
Beast wrote:
* Lukas Meyer [EMAIL PROTECTED] nulis:
Hello
I set up a Samba 3 PDC with ldap backend. I created an script that adds
machine accounts. First it adds the machine account to /etc/passwd and
then it creates the user in ldap with smbpasswd -a -m machine.
If I run the script by
* Lukas Meyer [EMAIL PROTECTED] nulis:
Hello
I added a sleep time to the add machine script but there's no success.
IMO you really turn on log level to 5 or higher and check also ldap.log file.
If it's slave ldap server, then set ldap replication sleep option.
How do you mean putting a
Am Donnerstag, 11. März 2004 13:28 schrieb Lukas Meyer:
Hello
I set up a Samba 3 PDC with ldap backend. I created an script that adds
machine accounts. First it adds the machine account to /etc/passwd and
then it creates the user in ldap with smbpasswd -a -m machine.
If I run the script by
10 matches
Mail list logo