search for: smb_set_primary_group

Displaying 6 results from an estimated 6 matches for "smb_set_primary_group".

2008 Aug 27
1
net rpc vampire in release 3.2.x
...3.0.x i get problems with the creation of machine accounts. when i start sucking a pdc in my ldapserver the following errors come up with every machineaccount on the pdc: 1.) Creating account: SP1$ /usr/sbin/smbldap-usermod: user SP1_ doesn't exist [2008/08/27 14:09:45, 0] groupdb/mapping.c:smb_set_primary_group(312) smb_set_primary_group: Running the command `/usr/sbin/smbldap-usermod -g 'Domain Users' 'SP1_'' gave 1 2.) User SP1_ does not exist: create it first ! what instantly strikes is that there is an _ instead of the $ in the pcname which cannot work. I guess the second e...
2005 Mar 14
2
Questions about 3.0.12rc1
Hello! Before this post, i'm send 3 problems in 3.0.11 I'm compiled 3.0.12rc1 and found next: 1) Settings primary group .... problem solved, but question to developer You append to mapping.c in smb_set_primary_group ret = smbrun(add_script,NULL); flush_pwnam_cache(); ^^^^^^^^^^^^^^^^^^^^ But not check ret code .....if my script exit in code != 0, i'm change primary group ... ( script "set primary group" still needed ? ) 2) Next in this code is winbind, but debug message string hav...
2011 Mar 02
1
Migrating (vampire) from NT4 to samba 3.5.7
...V -U Administrator Fetching (to passdb) DOMAIN database Creating unix group: 'specialusers1' Creating account: Administrator Creating account: Guest ldapsam_update_sam_account: No user to modify! Creating account: EKRPTESTSERV$ /usr/sbin/smbldap-usermod: user EKRPTESTSERV_ doesn't exist smb_set_primary_group: Running the command `/usr/sbin/smbldap-usermod -g 'Domain Users' 'EKRPTESTSERV_'' gave 1 Creating account: kasutaja1 Creating account: kasutaja2 Creating account: kasutaja3 Creating account: kasutaja4 Creating account: ldap2$ /usr/sbin/smbldap-usermod: user ldap2_ doesn't...
2004 Oct 06
3
Samba 3.0.7 & adding machines. Wrong primary group.
Hi! Some time ago (samba 3.0.1?) I added machines to my domain with 'srvmrg.exe' and all went as I expect. IIRC. If I am now adding machines, all machine-accounts have the initially group "users" set instead of "machines". But they should't. | add machine script = useradd -d /dev/null -g machines -s /bin/false %u This is, because even if adding machines to the
2009 May 09
3
net vampire and WIn2003 AD
...on 131st. I tried sorting AD objects by modification date, but this did not give me a clue about why import stops after 131 objects. I can provide full info of my samba setup, but I guess my setup is ok, since some objects are imported. (where some things net rpc vampire command said to me,like: smb_set_primary_group: gave 1, but I don't think this is a problem, because import doesn't stop on this mesages. There is a porblem, why vampire imports just part of the accounts. Why net rpc vampire ldif give error instantly and doesn't import anything, but net rpc vampire (without keyword ldif0 starts wor...
2008 Oct 24
1
Problem joining NT4 workstation to a Samba PDC
...sid.c:fetch_gid_from_cache(1015) fetch gid from cache 513 -> S-1-5-21-868307106-366230578-4077807754-513 [2008/10/23 17:21:46, 3] passdb/lookup_sid.c:fetch_gid_from_cache(1015) fetch gid from cache 513 -> S-1-5-21-868307106-366230578-4077807754-513 [2008/10/23 17:21:49, 3] groupdb/mapping.c:smb_set_primary_group(952) smb_set_primary_group: Running the command `/usr/sbin/smbldap-usermod -g "Domain Users" "pruebant$"' gave 0 [2008/10/23 17:21:49, 2] passdb/pdb_ldap.c:init_ldap_from_sam(965) init_ldap_from_sam: Setting entry for user: pruebant$ [2008/10/23 17:21:49, 3] rpc_server/srv...