Re: [Samba] add machine script -problem

2006-12-12 Thread Jim Shanks
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

[Samba] add machine script -problem

2006-12-11 Thread ravi kumar
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

Re: [Samba] add machine script -problem

2006-12-11 Thread Felipe Augusto van de Wiel
-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

[Samba] add machine script problem with Fedora core 5

2006-04-01 Thread James Lott
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

[Samba] add machine script problem

2005-07-07 Thread Brian Abreu
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

[Samba] add machine script problem

2004-03-11 Thread 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 hand, it works and the account has been added. After that

Re: [Samba] add machine script problem

2004-03-11 Thread Beast
* 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

Re: [Samba] add machine script problem

2004-03-11 Thread Lukas Meyer
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

Re: [Samba] add machine script problem

2004-03-11 Thread Beast
* 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

Re: [Samba] add machine script problem

2004-03-11 Thread Joern Frenzel
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