Displaying 20 results from an estimated 65 matches for "sambanextuserrid".
2016 Mar 06
2
Segmentation Fault when trying to set root samba password, IPA as a backend
On 06/03/16 17:28, Harry Jede wrote:
> On 18:11:20 wrote Rowland penny:
>> On 06/03/16 16:22, Harry Jede wrote:
>>> On 17:13:33 wrote Martin Juhl:
>>>> Hi guys
>>>>
>>>>
>>>> When trying to set root's password, I get a segmentation fault:
>>>>
>>>> [root at bart ~]# smbpasswd -a root
>>>> No
2016 Mar 06
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...ingly, it works.
Here the relevant information, openldap logs with loglevel filter (256):
*before adding the samba user* :
# ldapsearch -xLLL -D cn=admin,dc=europa,dc=xx -W -b dc=europa,dc=xx -s sub "(&(objectClass=sambaDomain)
(sambaDomainName=europa))" sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID sambaAlgorithmicRidBase
objectClass
dn: sambaDomainName=EUROPA,dc=europa,dc=xx
objectClass: top
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaDomainName: EUROPA
sambaSID: S-1-5-21-3958726613-3318811842-4132420312
sambaAlgorithmicRidBase: 1000
sambaNextUserRi...
2011 Sep 05
3
rid generation questions
Hello list,
I have a few questions to ask... I am about to migrate from Samba 2 to 3 (3.5.9). I am going to use LDAP as backend in the future and came across something I don't understand. As far as I know the 'old' way to generate RIDs for users is to take their uidnumber, multiply it by two and add 1000. For computer accounts it would be 1001 instead of 1000. I am now trying to
2004 Apr 29
2
Samba 3 PDC + OpenLDAP + Mandrake 10.0
...onn=7 op=0 RESULT tag=97 err=0 text=
Apr 29 04:17:30 qjktsmb slapd[7401]: conn=7 op=1 SRCH
base="dc=qdc,dc=co,dc=id" scope=2
filter="(&(objectClass=sambaDomain)(sambaDomainName=QDC-JKT))"
Apr 29 04:17:30 qjktsmb slapd[7401]: conn=7 op=1 SRCH attr=sambaDomainName
sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID
sambaAlgorithmicRidBase objectClass
Apr 29 04:17:30 qjktsmb slapd[7401]: conn=7 op=1 SEARCH RESULT tag=101 err=0
nentries=1 text=
Apr 29 04:17:30 qjktsmb slapd[7401]: conn=8 fd=23 ACCEPT from
IP=192.168.1.199:33005 (IP=0.0.0.0:389)
Apr 29 04:17:30 qjktsmb slapd[7401]: con...
2005 May 09
2
sambaDomainName=DOMAIN for next free id
Hi,
I'm following JHT's example doc off the web. I just applied a patch for the
confiure.pl script for the smbldap-tools that John gave me. It now makes
the sambaUnixIdPooldn object default to: cn=sambaDomainName=DOMAIN whereas
the output of the configure.pl script given in Chapter 9 of the book is
shown as: sambaDomainName=DOMAIN
I now have the first version of the sambaUnixIdPooldn
2004 Jul 23
0
pdbedit: failed to add domain ... Already exists
...syslog (for the pdbedit command):
Jul 23 18:44:29 aresjr slapd[12948]: conn=76 op=1 SRCH
base="dc=smallworld,dc=no" scope=2 filter="(&(objectClass=sambaDo
main)(sambaDomainName=ARESJR))"
Jul 23 18:44:29 aresjr slapd[12948]: conn=76 op=1 SRCH attr=sambaDomainName
sambaNextRid sambaNextUserRid sambaNextGroup Rid sambaSID
sambaAlgorithmicRidBase objectClass
Jul 23 18:44:29 aresjr slapd[12948]: conn=76 op=1 SEARCH RESULT tag=101 err=0
nentries=0 text=
Jul 23 18:44:29 aresjr slapd[12948]: conn=76 op=2 SRCH
base="dc=smallworld,dc=no" scope=2 filter="(&(sambaDomainName=ARE...
2004 Jun 06
2
LDAP authentication problem
...Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} )
attributetype ( 1.3.6.1.4.1.7165.2.1.19 NAME 'sambaGroupType'
DESC 'NT Group Type'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7165.2.1.21 NAME 'sambaNextUserRid'
DESC 'Next NT rid to give our for users'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7165.2.1.22 NAME 'sambaNextGroupRid'
DESC 'Next NT rid to give out for groups'
EQUALITY inte...
2017 Feb 03
1
Samba standalone + openldap
...apcat :
#/ samba_server_name, my_domain.com
dn: sambaDomainName=///samba_server_name,d/c=my_domain,dc=com//
// sambaDomainName: ///samba_server_name///
sambaSID: S-1-5-21-1471793353-708426617-xxxxxyyyyzzzz//
// sambaAlgorithmicRidBase: 1000//
// objectClass: sambaDomain//
// sambaNextUserRid: 1000//
// sambaMinPwdLength: 5//
// sambaPwdHistoryLength: 0//
// sambaLogonToChgPwd: 0//
// sambaMaxPwdAge: -1//
// sambaMinPwdAge: 0//
// sambaLockoutDuration: 30//
// sambaLockoutObservationWindow: 30//
// sambaLockoutThreshold: 0//
// sambaForceLogoff: -1//
// sam...
2018 Mar 05
2
Fwd: Migrating server
...b
I went through your suggestions and cleaned up the smb.conf. Also added
the unixidpool ldif
dn: sambaDomainName=mydomain,dc=mydomain
sambaDomainName: mydomain
sambaSID: S-1-5-21-3936576374-1604348213-1812434911
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaNextUserRid: 1000
sambaMinPwdLength: 5
sambaPwdHistoryLength: 0
sambaLogonToChgPwd: 0
sambaMaxPwdAge: -1
sambaMinPwdAge: 0
sambaLockoutDuration: 30
sambaLockoutObservationWindow: 30
sambaLockoutThreshold: 0
sambaForceLogoff: -1
sambaRefuseMachinePwdChange: 0
sambaNextRid: 1001
uidNumber: 10000
gidNumber: 10000...
2003 Sep 08
0
Bundled Netscape DS 5.x schema in Samba3.0rc2
...sambaSID $
sambaGroupType ) MAY ( displayName $ description ) X-ORIGIN 'user defined' )
objectClasses: ( 1.3.6.1.4.1.7165.2.2.5 NAME 'sambaDomain' SUP top STRUCTURAL
DESC 'Samba Domain Information' MUST ( sambaDomainName $ sambaSID ) MAY (
sambaNextRid $ sambaNextGroupRid $ sambaNextUserRid $ sambaAlgorithmicRidBase )
X-ORIGIN 'user defined' )
objectClasses: ( 1.3.6.1.4.1.7165.1.2.2.7 NAME 'sambaUnixIdPool' SUP top
AUXILIARY DESC 'Pool for allocating UNIX uids/gids' MUST ( uidNumber $ gidNumber
) X-ORIGIN 'user defined' )
objectClasses: ( 1.3.6.1.4.1.71...
2018 Mar 01
3
Fwd: Migrating server
Yes please for the notes.
I re-ran the tests without the smbldap-tools. I installed phpldapadmin and
am able to login to the apache page using the cn=admin, dn=mydomain and
create entries. This kind of tells me that LDAP is working
Then I run the pdbedit -Lv and it lists all the users.
The following happens when I add the LDAP bits to smb.conf and restart
samba.The issue seems to be with samba
2005 Sep 10
2
Samba + OpenLDAP: LDAP server is running but could not respond to a search request
...tag=101 err=0
nentries=1 text=
Sep 9 04:39:52 Ns02 slapd[10449]: conn=61 op=2 SRCH base="dc=sample,dc=com"
scope=2 deref=0
filter="(&(objectClass=sambaDomain)(sambaDomainName=sample))"
Sep 9 04:39:52 Ns02 slapd[10449]: conn=61 op=2 SRCH attr=sambaDomainName
sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID
sambaAlgorithmicRidBase objectClass
Sep 9 04:39:52 Ns02 slapd[10449]: conn=61 op=2 SEARCH RESULT tag=101 err=0
nentries=1 text=
Sep 9 04:39:52 Ns02 slapd[10449]: conn=61 op=3 SRCH
base="ou=Goups,dc=sample,dc=com" scope=2 deref=0
filter="(objectClass=sam...
2018 Aug 09
2
LDAP SSL
...Age: 0
sambaMinPwdLength: 5
sambaLogonToChgPwd: 0
sambaForceLogoff: -1
uidNumber: 10002
sambaNextRid: 10038
# server02, suntech
dn: sambaDomainName=server02,dc=suntech
sambaDomainName: server02
sambaSID: S-1-5-21-2631908330-1812305667-41686038
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
sambaNextUserRid: 1000
sambaMinPwdLength: 5
sambaPwdHistoryLength: 0
sambaLogonToChgPwd: 0
sambaMaxPwdAge: -1
sambaMinPwdAge: 0
sambaLockoutDuration: 30
sambaLockoutObservationWindow: 30
sambaLockoutThreshold: 0
sambaForceLogoff: -1
sambaRefuseMachinePwdChange: 0
# search result
search: 3
result: 0 Success
# numR...
2018 Mar 02
1
Fwd: Migrating server
...tion for SSL/TLS hosts.
>
>> sambaDomainName: MYDOMAIN
>> sambaSID: S-1-5-21-3936576374-1604338294-181246221
>> sambaAlgorithmicRidBase: 1000
>> objectClass: sambaDomain
> I prefer to add here an auxiliary objectclass: sambaUnixIdPool
> More later on
>
>> sambaNextUserRid: 1000
>> sambaMinPwdLength: 5
>> sambaPwdHistoryLength: 0
>> sambaLogonToChgPwd: 0
>> sambaMaxPwdAge: -1
>> sambaMinPwdAge: 0
>> sambaLockoutDuration: 30
>> sambaLockoutObservationWindow: 30
>> sambaLockoutThreshold: 0
>> sambaForceLogoff: -1
&g...
2018 Mar 02
0
Fwd: Migrating server
...get trouble with certificate name validation for SSL/TLS hosts.
> sambaDomainName: MYDOMAIN
> sambaSID: S-1-5-21-3936576374-1604338294-181246221
> sambaAlgorithmicRidBase: 1000
> objectClass: sambaDomain
I prefer to add here an auxiliary objectclass: sambaUnixIdPool
More later on
> sambaNextUserRid: 1000
> sambaMinPwdLength: 5
> sambaPwdHistoryLength: 0
> sambaLogonToChgPwd: 0
> sambaMaxPwdAge: -1
> sambaMinPwdAge: 0
> sambaLockoutDuration: 30
> sambaLockoutObservationWindow: 30
> sambaLockoutThreshold: 0
> sambaForceLogoff: -1
> sambaRefuseMachinePwdChange: 0
&g...
2007 Jun 14
1
SambaSID
...init_sam_from_ldap(541)
? init_sam_from_ldap: Entry found for user: root
[2007/05/30 17:11:15, 2] smbd/reply.c:reply_tcon_and_X(711)
? Serving IPC$ as a Dfs root
On my LDAP backend I have this entry:
dn: sambaDomainName=PRODESAN.COM.BR,dc=prodesan,dc=com,dc=br
sambaAlgorithmicRidBase: 1000
sambaNextUserRid: 41000
sambaNextGroupRid: 41001
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaSID: S-1-5-21-3756370324-611414431-635963119
sambaDomainName: prodesan.com.br
gidNumber: 1055
uidNumber: 1454
The sambaSID is the same that was before the migration. Do I need to set
this
SID somew...
2004 Aug 20
0
Fedora Core2 / Samba / Ldap / smbldap-tools - No account in Domain.
...baLogonTime,sambaLogoffTime,sambaKickoffTime,sambaPwdCanChange,sambaPwdMustChange,sam
baAcctFlags,displayName,sambaHomePath,sambaHomeDrive,sambaLogonScript,sambaProfilePath,description,sambaUserWorkstations,sambaPrimaryGroupSID,sambaDomainNa
me,sambaSID,sambaGroupType,sambaNextRid,sambaNextGroupRid,sambaNextUserRid,sambaAlgorithmicRidBase
by dn="cn=samba,dc=adastral,dc=ucl,dc=ac,dc=uk" write
by dn="cn=smbldap-tools,dc=adastral,dc=ucl,dc=ac,dc=uk" write
by self read
by * none
access to dn.base="dc=adastral,dc=ucl,dc=ac,dc=uk"
by dn="cn...
2005 Jan 11
4
Problems with OpenLDAP 2.2.20/Samba 3.0.10 and smbpasswd
...ub
'(&(objectClass=sambaDomain)(sambaDomainName=HRDOMAIN))'
# extended LDIF
#
# LDAPv3
# base <dc=hrnet,dc=de> with scope sub
# filter: (&(objectClass=sambaDomain)(sambaDomainName=HRDOMAIN))
# requesting: ALL
#
# HRDOMAIN, hrnet.de
dn: sambaDomainName=HRDOMAIN,dc=hrnet,dc=de
sambaNextUserRid: 41000
sambaSID: S-1-5-21-2344209003-2394295749-876522236
objectClass: sambaDomain
sambaAlgorithmicRidBase: 1000
sambaDomainName: HRDOMAIN
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
[PTS2] root@486dx66:/usr/local/samba3 #
---snipp---
So OpenLDAP works , i can...
2004 Sep 20
1
NT_STATUS_LOGON_FAILURE with pdc samba + openldap + SuSE9.1
...lapd[14480]: end get_filter 0
Sep 20 11:11:46 amanda slapd[14480]: conn=23 op=1 SRCH
base="dc=stilen,dc=com" scope=2 deref=0
filter="(&(objectClass=sambaDomain)(sambaDomainName=waste2))"
Sep 20 11:11:46 amanda slapd[14480]: conn=23 op=1 SRCH
attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid
sambaSID sambaAlgorithmicRidBase objectClass
Sep 20 11:11:46 amanda slapd[14480]: AND
Sep 20 11:11:46 amanda slapd[14480]: DN SUBTREE
Sep 20 11:11:46 amanda slapd[14480]: OR
Sep 20 11:11:46 amanda slapd[14480]: EQUALITY
Sep 20 11:11:46 amanda slapd[14480]: AND
Sep 2...
2005 Jan 27
0
avoiding the use of an LDAP entry for the samba domain?
...nd for that matter
to try to add the missing record?
I noticed the following messages in the LDAP server log:
SRCH base="dc=unige,dc=ch" \
scope=2 \
filter="(&(sambaDomainName=VPNGROUP)(objectClass=sambaDomain))" \
attrs="sambaDomainName sambaNextRid sambaNextUserRid \
sambaNextGroupRid sambaSID sambaAlgorithmicRidBase objectClass"
ADD dn="sambaDomainName=VPNGROUP,dc=unige,dc=ch"
When using the smbpasswd backend the attributes that are not
already in smb.conf don't seem to be stored anywhere,
and everything is fine.
- Why is it...