search for: sambasamaccount

Displaying 20 results from an estimated 685 matches for "sambasamaccount".

2003 Dec 30
1
sambaSamAccount versus SambaSAMAccount
Hi All, The smbldap-tools in latest Samba tarball 3.0.1 use SambaSAMAccount rather than SambaSamAccount as per the samba.schema file. Attached are four patches to fix this. Darren -------------- next part -------------- --- smbldap-useradd.pl.orig Tue Dec 30 22:34:08 2003 +++ smbldap-useradd.pl Tue Dec 30 22:38:19 2003 @@ -208,7 +208,7 @@ if (!$with_smbpasswd)...
2006 Jan 21
1
Machine account with object class sambaSAMAccount required?
...lients to my samba3/ldap domain (see my earlier post). I'm using the idealx scripts and they do create a machine account, even if i try to add the machine from WinXP itself. Now I noticed the machine account created by this script has object classes top, inetOrgPerson and posixAccount, but NOT sambaSAMAccount. Is this correct? I thought they should be sambaSAMAccounts too, like the users are... Thanks, Alexander.
2003 Sep 20
1
smbldap-tools updates (diffs)
...mod.pl 1,2d0 < #!/usr/bin/perl < smbldap-groupshow.pl smbldap-migrate-accounts.pl 45,46c45,46 < sambaLMPassword: $lmpwd < sambaNTPassword: $ntpwd --- > lmpassword: $lmpwd > ntpassword: $ntpwd smbldap-migrate-groups.pl smbldap-passwd.pl smbldap-populate.pl 119c119 < objectClass: sambaSamAccount --- > objectClass: sambaSAMAccount 146c146 < objectClass: sambaSamAccount --- > objectClass: sambaSAMAccount smbldap-useradd.pl 275c275 < objectClass: sambaSamAccount --- > objectClass: sambaSAMAccount smbldap-userdel.pl smbldap-usermod.pl smbldap-usershow.pl smbldap_conf.pm smbldap_...
2005 Jun 04
3
smbldap-tools and joining workstation to domain
..., I've reported this before but I guess I'll have to do it again, since it's not fixed yet or I'm understanding something wrong here. The problem is that smbldap-useradd -w 'machinename' will add only posixAccount entrys into ldap but it should add both posixAccount and sambaSAMAccount entrys. So if one doesn't add correct machine account entrys manually to ldap the windows workstation domain joining is impossible. The Samba Openldap howto clearly documents that smbldap-useradd -w 'worsktation' should produce following entrys in ldap: dn: uid=testhost3$,ou=Comput...
2007 Feb 09
1
sambaSamAccount and posixAccount cohabitation
Hi all, I'm new on this list and I'm french, so my english could be worst !;) My question is about sambaSamAccount and posixAccount objectClasses. I want the user "test" be mapped to user root (uid=0, gid=0) when logged into pam over ldap mechanism (such as ssh) And I want the same user "test" be mapped to user test (uid=1003, gid=513) when logged to Samba server. The user test looks like :...
2008 Mar 27
0
smbldap-useradd will not add sambaSamAccount objectClass
I'm having an issue adding a sambaSamAccount objectClass to my machine accounts when running smbldap-useradd -w "machine$" It doesn't create samba attributes, but will create the account. In the smbldaap-useradd code, sambaSamAccount is sambaSAMAccount, but I don't know if that's what's doing it. the samba.schema...
2005 May 26
1
Re: RE pdb_ldap.c, ldapsam_add_sam_account, existing poxisaccount
...IX part of LDAP based accounts. Samba should handle all the sambaSAM components. Please review chapter 5 and give me your feedback. I am anxious to fix any problem you may have. Cheers, John T. On Thursday 26 May 2005 09:12, spu@corman.be wrote: > Ok, > > I re-read the script and the sambasamaccount is only added with -i option. > > My position is : > - I asked the problem in 2004, I a put a BUG. For some reasons, no > reaction from samba team for this problem. > - My solution is modify the smbldap-script for add sambasamaccount > and add a machine on two step,...
2003 Dec 02
2
can't add a user to Samba with Ldap passwd backend
...ame=TESTVGC.WIM)) pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new users/groups, and will risk BDCs having inconsistant SIDs smbldap_search_suffix: searching for:[(&(uid=wim)(objectclass=sambaSamAccount))] smbldap_search_suffix: Problem during the LDAP search: (No such object) smbldap_search_suffix: Query was: , (&(uid=wim)(objectclass=sambaSamAccount)) ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=1000))] ldapsam_search_one_group: Problem during t...
2003 Sep 05
2
domain join - no sambaSamAccount created
..."Network ID"-Wizard from the Windows XP client I get a "bad username or password" message when Windows is at the point of actually requesting the machine account on the DC. Strangely, the correct posixAccount is indeed being created - Samba simply "forgets" to add the SambaSamAccount after the script ran. This is also what the LDAP log tells me: There are no errors at all, but the LDAP traffic still stops right after the posixAccount user is added. I've also got a level 3 Samba log for the client machine. It doesn't tell me much more, but it can be mailed on request. T...
2004 Feb 19
2
Using the same LDAP entry for posixAccount and sambaSamAccount with smbldap
...backend winxp pro domain member Hello, i've configured smbldap-tools in smb.conf to manage users from usrmgr.exe. It works at group creation but have a strange behavior in user creation. In the LDAP there are two manually created accounts; Administrador & invitado, both posixAccount and sambaSamAccount. When i try to create a new account with usrmgr using "smbldap-useradd %u" in "add user script" i get this error: [2004/02/19 11:37:53, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1634) ldapsam_add_sam_account: failed to modify/add user with uid = juan (dn = uid=juan,ou=Pe...
2004 Jan 21
1
[3.0, LDAP] smbpasswd fails in adding new accounts
...please ask for it, if it _could_ be relevant): | bertha:~# smbpasswd -D10 -s -a uschwarz xxxxxxxx | [...] | ldap_connect_system: succesful connection to the LDAP server | The LDAP server is succesful connected | [...] | smbldap_search_suffix: searching | for:[(&(&(uid=uschwarz)(objectclass=sambaSamAccount))(objectclass=sambaSamAccount))] | ldapsam_getsampwnam: Unable to locate user [uschwarz] count=0 | Finding user uschwarz | Trying _Get_Pwnam(), username as lowercase is uschwarz | Get_Pwnam_internals did find user [uschwarz]! | pdb_set_username: setting username uschwarz, was | element 11 -> no...
2005 May 25
0
Can't join PC's to Domain - object class 'sambaSamAccount' requires attribute 'sambaSID'
...to investigate. When i run # pdbedit -m -a mambo50 i am returned the following error > init_ldap_from_sam: Setting entry for user: mambo50$ > ldapsam_modify_entry: Failed to add user dn= > uid=mambo50$,ou=Computers,dc=zed,dc=org with: Object class violation > object class 'sambaSamAccount' requires attribute 'sambaSID' > ldapsam_add_sam_account: failed to modify/add user with uid = mambo50$ > (dn = uid=mambo50$,ou=Computers,dc=zel,dc=org) > Unable to add machine! (does it already exist?) I have checked and the previous machine does not already exist. I use th...
2006 Nov 01
2
object class 'sambaSamAccount' requires attribute 'sambaSID'
Hi, In the continuing saga of not being able to join machines to my openldap 2 & samba 3.0.23c controlled domain I now get the above error. The schema is the one distributed with 3.0.23c. I've seen many postings about the same error but no fixes for it. Does anyone know where to look? Thanks alot, Greg -- Greg Dickie just a guy Maximum Throughput
2004 Jan 13
1
Using People for Machine accounts
...ps,dc=pmmc,dc=com" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=553))" slapd[30560]: conn=26 op=5 SEARCH RESULT tag=101 err=0 nentries=1 text= slapd[30429]: conn=26 op=6 SRCH base="dc=pmmc,dc=com" scope=2 filter="(&(&(uid=silver$)(objectClass=sambaSamAccount))(objectClass=sambaSamAccount))" slapd[30429]: conn=26 op=6 SEARCH RESULT tag=101 err=0 nentries=0 text= slapd[30560]: conn=26 op=7 SRCH base="dc=pmmc,dc=com" scope=2 filter="(&(sambaSID=S-1-5-21-2297334754-555254534-3983410276-3000)(objectClass=sambaSamAccount))" slapd...
2012 Apr 28
1
Problems ldap authentication for Samba 3.5.11-2-1
...The problem is that sharing is never authenticated where my suspicious is about sambaSID. Basically I create a test user called "rlvcosta". This user was created into LDAP as : dn: uid=rlvcosta,ou=People,dc=flores,dc=com objectClass: inetOrgPerson objectClass: posixAccount objectClass: sambaSamAccount homeDirectory: /dev/null loginShell: /bin/false cn: rlvcosta givenName: rlvcosta sn: rlvcosta uid: rlvcosta uidNumber: 500 gidNumber: 9126 sambaSID: S-1-5-21-1299536883-3844537390-917088389-1001 This appears to be ok. Although when I put a tcpdumo trace I see: Lightweight Directory Access Protoco...
2005 Apr 07
2
smbldap-tools not playing nice w/ samba ?
...script, but I get the error "The user name could not be found". Here's what it looks like it's doing in the ldap logs: 1. There's a login as cn=Manager, which searches for the root account, and then for a bunch of gidNumbers. It then searches for the machine$ with a sambaSamAccount objectclass, and exits. 2. It then reconnects anonymously and searches for machine$ and MACHINE$ twice (no results). 3. After that it connects again as cn=Manager and and searches for the machine$ under posixAccount (still no restuls). It then finally adds the entry for machine$ but without...
2004 Feb 03
4
samba 3.0.1 and ldap backend problem - I can not add new accounts to domain.
...on opened Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DOMAIN))] smbldap_search_suffix: searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DOMAIN))] smbldap_open_connection: connection opened smbldap_search_suffix: searching for:[(&(&(uid=loko20$)(objectclass=sambaSamAccount))(objectclass=sambaSamAccount))] Username not found! [root@codo cyrus-sasl]# smbldap-userdel loko20$ [root@codo cyrus-sasl]# getent passwd|grep loko loko$:x:1459:553:loko$:/dev/null:/bin/false [root@codo root]# pdbedit -L -v loko$ Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DO...
2004 Jan 14
0
Problem adding smb accounts on 3.0.1/ldap
...tes. If there is a user existing in the local /etc/passwd file then smbpasswd -a correctly sets up the samba user in the ldap directory. However, if I preload the posixAccount and other data for a user using an ldif import then attempt to use smbpasswd to add the samba attributes it fails. Setting sambaSamAccount, sambaSID and sambaPrimaryGroupSID in the ldif file seems to fix the problem but I didn't realise that this necessary.Or is there a problem with smbpasswd? smb.conf # Global parameters [global] domain logons = yes workgroup = BSTORE netbios name = TEST-SERVER2 server string = LDAP/Samba...
2004 Mar 19
1
Unknown "Search Filter" in LDAP by SAMBA !!!
hi viewing my logs i saw some weird "saerch filters" by sambav3 using openldapv2 filter: (&(&(objectClass=sambaSamAccount)(?=undefined))(objectClass=sambaSamAccount)) smb.conf related entries: passdb backend = ldapsam:ldap://localhost:389 ldap suffix = dc=eva,dc=mpg,dc=de ldap admin dn = cn=manager,dc=eva,dc=mpg,dc=de ldap filter = (&(objectclass=sambaSamAccount)(uid=%u)) ldap machine suffix...
2003 Aug 19
1
With sambaSamAccount, do I need an add user script and an add machine script?
Dear Folks, With Samba 3.0.0 RC1, openldap-2.1.22, with samba as PDC and as much as possible in LDAP, do I need to write an add user script and an add machine script? Or does samba handle this itself? Sorry, I'm rather confused about how to go about setting this all up. -- Nick Urbanik RHCE nicku(at)vtc.edu.hk Dept. of Information & Communications