search for: addmachine

Displaying 20 results from an estimated 24 matches for "addmachine".

2007 Apr 19
1
Enter or quit a samba's domain in pdc
...ame of untraceable user ". The root account exists well. But on the other hand not the account of the machine. If I enter well the machine the users samba ( Adduser then smbpasswd), I manage to enter the domain. Nevertheless, on my smb.conf, I indeed have this: add machine script = /srv/samba/addmachine.sh With the script "addmachine.sh" like that: # /bin/bash # /usr/sbin/useradd -d /dev/null -G machines -s /bin/false -M %m$ smbpasswd -a -m %m$ I don't want enter all the netbios of my machines to join with the hand, one by one. 2. Go out of the domain. When I...
2005 Aug 30
5
BDC and password change program
Hello, Just wondering what I should be using for the password change program on a BDC. Should it be: passwd program = /usr/bin/smbpasswd -r <PDC address> %u I'm having a problem with passwords not staying in sync between the PDC and BDC with pass backend ldap. The systems are all Fedora Core 4, Samba 3.0.14a, openldap 2.2.23 Kent N
2005 Oct 12
1
add machine script almost succeeds
...ell it to join the domain, after giving it the Admin login and password it connects up with no problems. So the next step was to configure Samba to use the script directly by pointing the "add machine script" parameter in smb.conf to the script: add machine script = /usr/local/bin/samba-addmachine %u I restart Samba, then go to the Windows box (XP Pro) and tell it to join the domain. It asks for the Admin login and password, then after a minute or so I get an error popup telling me "The user name could not be found." However, when I look in LDAP I can see that my script did run...
2006 Apr 01
0
add machine script problem with Fedora core 5
...o manually run the useradd command myself, it works fine, and the machine is subsequently able to join the domain. Furthermore, no matter what I specify for the 'add machine script' parameter, it ALWAYS fails with "gave 82". For example, I tried: add machine script = /usr/sbin/addMachine.sh addMachine.sh: echo "this is a test" > /usr/sbin/test.txt This script never gets called (test.txt is not created), and the error log STILL reports "gave 82": [2006/03/31 15:19:31, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2404) _samr_create_user: Running the com...
2003 Jan 06
3
Simple question - Machine / User relationsip
Can someone explain to me the mechanizm that Samba uses to relate Machines to Users? I am trying to set up a Samba-LDAP PDC and it seems to work OK but I get "No mapping between account names and security IDs was done." This would seem to be a simple user/group ownership/permissions thing. Now I have the following potentially pertinent ou's: People Computers Groups One
2009 Mar 31
1
Adding additional groups to a file.
.../KDC (Samba %v) realm = EXAMPLE.COM use kerberos keytab = yes use spnego = yes log file = /var/log/samba/%m.log max log size = 1000 syslog = 1 log level = 4 utmp = Yes guest account = nobody map to guest = Never admin users = root addmachine vin @"Domain Admins" enable privileges = yes security = user encrypt passwords = true os level = 255 local master = yes domain master = yes preferred master = yes domain logons = yes keepalive = 30 time server = yes...
2003 Nov 20
0
Trust, users, groups, scripts, etc. questions.
.... The domains trust each other. A windowsXP pro user logs into TIMES, browses the network and opens the FAIRFAX domain PDC. As soon as the FAIRFAX domain is touched, a user (and probably machine, but I haven't tested this fully) account is set up in LDAP for that user. Obviously the adduser and addmachine scripts work. I'm going to assume this is the way this is supposed to work, right? #2a. The user from #2 has an account in LDAP formed when he/she touched the FAIRFAX domain. There is no password.in GQ, the sambaLMpassword and sambaNTpassword show as XXX. The user password in GQ shows up as...
2004 Feb 26
0
Trusted NT domains won't connect
...change any of the details of the NT domain. The NT domains are set up as follows: +-----> USER1 | MACHINES <-+-----> USER2 | +-----> USER3 Machines join the MACHINES domain, using a username (let's call it "addmachine") and password set aside for this purpose. USER1, USER2, and USER3 are trusted by MACHINES, and all user accounts are created in these three domains. I've got smbd and winbindd running under Samba 3.0.2a1. Issuing net join -S PDCNAME -Uaddmachine%password returns Joined domai...
2004 Mar 03
0
rpcclient addprinter error
...ools/ntdomain/bin/chgpass.sh %u unix password sync = yes kernel oplocks = no os level = 65 guest account = nobody enhanced browsing = no server schannel = no unix charset = iso8859-15 add machine script = /var/IEP/admtools/ntdomain/bin/addmachine.sh %m [netlogon] path = /etc/netlogon browseable = No
2004 Jul 21
0
NMBLOOKUP returns double entries ???
...main master = yes local master = yes preferred master = yes domain logons = yes logon path = logon home = encrypt passwords = yes socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY wins support = yes dns proxy = no add machine script = /root/bin/BDC/addmachine.sh '%u' display charset = UTF8 unix charset = UTF8 -- could you point me to a solution? thx greez "Matrix - more than a vision" ************************************************** Michael Gasch - Central IT Department - Max...
2002 Oct 03
1
Urgent: LDAP showstopper
...ng parameter ldap suffix = dc=viit,dc=edu doing parameter ldap admin dn = cn=Manager,dc=viit,dc=edu doing parameter domain admin group = @root @admin doing parameter ldap server = 127.0.0.1 doing parameter ldap port = 389 doing parameter ldap ssl = no doing parameter add user script = /scripts/ldap/addmachine %u doing parameter passwd program = /scripts/sync %u doing parameter passwd chat = *new*password* %n\n *New*password* %n\n *Retype*new*password* %n\n *all* doing parameter unix password sync = yes pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: ROLE_DOMAIN_PDC c...
2003 Jul 23
0
WINXP Profiles
...oad printers = yes socket options = TCP_NODELAY map to guest = Bad User map hidden = yes map system = yes create mode = 771 wins support = yes unix password sync = yes min passwd length = 0 dos filemode = no oplocks = yes add user script = /usr/local/araneus/scripts/addmachine %u passwd chat = *password* %n\n *Re-enter* %n\n *changed* passwd program = /usr/bin/passwd %u domain admin group = peter profile acls = yes csc policy = disable domain logons = yes domain master = yes local master = no preferred master = yes logon script = logon.bat...
2011 Dec 27
2
incorrect profiles
...=8192 SO_BROADCAST load printers = No logon path = logon home = logon script = usrlogon.cmd preferred master = yes local master = Yes domain master = Yes domain logons = Yes add machine script = /usr/share/gopdc/gopdc -addmachine "%u" os level = 65 wins support = yes kernel oplocks = No ldap suffix = dc=customer,dc=local ldap admin dn = uid=samba3,ou=people,ou=Service,dc=customer,dc=local ldap ssl = no passdb backend = ldapsam:ldap://127.0.0.1:389...
2004 Mar 11
2
add machine script problem
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 I can join the domain without any problems. Now I want to make this machine account creation on the
2003 Aug 27
0
Very strange truncation error
...%n\n *done* username map = /usr/local/etc/smb.usermap unix password sync = Yes log level = 1 log file = /var/log/samba.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_THROUGHPUT load printers = No domain admin group = @staff add user script = /root/bin/addmachine.pl %u delete user script = /root/bin/rmmachine.pl %u logon path = \\%N\profiles\%u domain logons = Yes os level = 65 preferred master = Yes domain master = Yes hosts allow = 192.168.1. 127. [netlogon] path = /usr/local/samba/netlogon write list = root browseable = No [profiles] path =...
2009 Nov 04
0
Problems with tdb-database after migration from Debian-Samba-3.2.5-4lenny6 to Samba-3.2.5-4lenny7
...add user to group script = /usr/bin/gpasswd -a "%u" "%g" delete user from group script = /usr/bin/gpasswd -d "%u" "%g" set primary group script = /usr/sbin/usermod -g "%g" "%u" add machine script = /usr/sbin/addmachine.sh -u %u logon script = logon.cmd logon path = \\%N\profiles\%U logon drive = U: logon home = \\%N\%U\win domain logons = Yes os level = 65 preferred master = Yes domain master = Yes dns proxy = No ldap ssl = no...
2001 Dec 28
2
Config Samba as a NT Domain Controller
Skipped content of type multipart/alternative-------------- next part -------------- bash-2.04# smbpasswd -a -m inet-p$ User inet-p$ does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user. Failed to modify password entry for user inet-p$ -------------- next part -------------- Add NT Machines. Every NT that will be on the domain must
2004 Sep 08
0
[WINBIND] adds "weird" attributes in LDAP
...domain logons = no encrypt passwords = yes password server = nevanpdc, nevanbdc, * # socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY wins support = yes dns proxy = no #add user script = /root/bin/BDC/adduser.sh '%u' #add machine script = /root/bin/BDC/addmachine.sh '%u' #add group script = /root/bin/BDC/addgroup.sh '%g' add user to group script = /root/bin/BDC/add_to_group.sh '%u' '%g' #delete user script = /root/bin/BDC/deleteuser_rpc.sh '%u' #delete group script = /root/bin/BDC/deletegroup.sh '%...
2009 Nov 07
0
XP-machines cannot join Samba PDC with tdbsam
...add user to group script = /usr/bin/gpasswd -a "%u" "%g" delete user from group script = /usr/bin/gpasswd -d "%u" "%g" set primary group script = /usr/sbin/usermod -g "%g" "%u" add machine script = /usr/sbin/addmachine.sh -u %u logon script = logon.cmd logon path = \\%N\profiles\%U logon drive = U: logon home = \\%N\%U\win domain logons = Yes os level = 65 preferred master = Yes domain master = Yes dns proxy = No ldap ssl = no...
2004 Jan 12
3
Win XP Pro / Linux PDC
Hi all, I'm trying to configure Samba as a PDC. I'm running Debian Woody, hence Samba version 3.0.0final-1. We have no Windows servers anywhere on the network (yay!). I have done an smbpasswd for root, and add machine script is setup (see attached smb.conf). From the XP Pro workstation, when I fill in the domain name, log in as root, and click ok, I eventually get: "The following