search for: add_samba_machine

Displaying 5 results from an estimated 5 matches for "add_samba_machine".

2006 Feb 10
0
Upgraded from 3.0.9 -> 3.0.21b - Now adding machines a problem
...ticed it had the posix machine info but not the samba machine info. To add the machine I am using the command add machine script = /usr/local/sbin/smbldap-useradd -t 0 -w '%u' in my smb.conf as specified in the example. I then looked at the smbldap-useradd script and realized that the add_samba_machine call from the tools.pm file was never getting called anywhere in the scripts so maybe this is incorrect but I added the following to the smbldap-useradd script: if (defined($Options{'w'})) { if (!add_samba_machine($userName,$userUidNumber,$Options{'t'})) { die...
2006 Oct 09
1
Unable to add an xp machine to my domain
Hi there, I've been going through the samba 3 by example book and have now successfully replaced my NT 4 PDC with a Linux machine running samba and an LDAP backend. Beautiful. However, I've run into a slight problem. When I try and add a new XP pro machine to my domain, I get the following message: A domain controller for the domain TEST could not be contacted. After doing some
2006 Feb 10
0
Upgraded from 3.0.9 -> 3.0.21b - Now adding machines aproblem
...ticed it had the posix machine info but not the samba machine info. To add the machine I am using the command add machine script = /usr/local/sbin/smbldap-useradd -t 0 -w '%u' in my smb.conf as specified in the example. I then looked at the smbldap-useradd script and realized that the add_samba_machine call from the tools.pm file was never getting called anywhere in the scripts so maybe this is incorrect but I added the following to the smbldap-useradd script: if (defined($Options{'w'})) { if (!add_samba_machine($userName,$userUidNumber,$Options{'t'})) { die...
2004 Jan 14
0
Problems with smbldap-tools 0.8.2 and Samba 3
...expects ### Samba to add the sambaSAMAccount, but I think that Samba fails to ### do it because already exists the posixAccount (with the same uid) # (jtournier) # Objectclass sambaSAMAccount is now added directly by samba when joigning the domain (for samba3) #if (!add_samba_machine_mkntpwd($userName, $userUidNumber)) { # die "$0: error while adding samba account\n"; #} } else { ##### The script never executes this branch if (!add_samba_machine($userName)) { die "$0: error while adding samba account\n";...
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...chine $userName:\n"; if (!add_posix_machine ($userName, $userUidNumber, $userGidNumber)) { die "$0: error while adding posix account\n"; } if (!$with_smbpasswd) { # (jtournier) # Objectclass sambaSAMAccount is now added directly by samba when joigning the domain (for samba3) # if (!add_samba_machine_mkntpwd($userName, $userUidNumber)) { # die "$0: error while adding samba account\n"; # } # } else { # if (!add_samba_machine($userName)) { # die "$0: error while adding samba account\n"; # } my $modify = $ldap_master->modify ( "$dn", changes => [ replace => [...