search for: ypserver

Displaying 20 results from an estimated 91 matches for "ypserver".

Did you mean: pserver
2014 Jun 23
1
NIS extensions - only 3 of 55 entries present
...ree entries in this file. Questions: - Is this normal for an out-of-the-box Samba install? - Should I install the other 52 LDAP entries, if I want to do centralised user/group mapping for Unix servers? Thanks, Brian. [1] root at dc1:~# ldbsearch -H /var/lib/samba/private/sam.ldb -s sub -b CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=adtest,DC=int,DC=example,DC=net # record 1 dn: CN=bydefaults,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=adtest,DC=int,DC=example,DC=net objectClass: top objectClass: msSFU30NISMapConfig cn: bydefaults instanceType: 4 whenCreated: 20140618075513.0Z...
2018 Jan 15
1
Avoiding uid conflicts between rfc2307 user/groups and computers
...at all. > The way ADUC works, is by using a couple of attributes, that, by default > Samba AD doesn't have. These are 'msSFU30MaxUidNumber' & > 'msSFU30MaxGidNumber' and they hold the next uidNumber & gidNumber. > They should be in: > dn: > CN=samdom,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com > > Where 'samdom' is your lowercase workgroup and > 'DC=samdom,DC=example,DC=com' is your realm/dns domain. > > If you can write scripts, I am sure you can figure out how to use > them ;-) > If n...
2018 Jan 16
3
Avoiding uid conflicts between rfc2307 user/groups and computers
Mandi! Kacper Wirski via samba In chel di` si favelave... > I understand the OP, I was asking some time ago similar question, but it was > in relation to samba domain member. Thanks, Kacper. > I couldn't get backend: ad to work for > machine accounts, so i switched to idmap: rid and it solved everything. I > tried manually adding UID and GID to Domain Computer group and to
2019 Aug 19
2
Problems with NIS Server on Samba 4
...u wouldn't get the required objects in AD created on >the Samba DC either. Really, IDMU was not installed. There is the file ypServ30.ldif ls /usr/share/samba/setup/ ... ypServ30.ldif But, I believe the extension is not enabled: ldbsearch -H /var/lib/samba/private/sam.ldb -s base -b CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=empresa,DC=com,DC=br cn search error - No such Base DN: CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=empresa,DC=com,DC=br This way, Do I need to install NIS (apt-get install nis) or only Replace the variables in LDIF file with the domain distinguis...
2018 Jan 17
0
Avoiding uid conflicts between rfc2307 user/groups and computers
...a couple of attributes, that, by >> > default Samba AD doesn't have. These are 'msSFU30MaxUidNumber' & >> > 'msSFU30MaxGidNumber' and they hold the next uidNumber & gidNumber. >> > They should be in: >> > dn: >> > CN=samdom,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com >> > >> > Where 'samdom' is your lowercase workgroup and >> > 'DC=samdom,DC=example,DC=com' is your realm/dns domain. >> > >> > If you can write scripts, I am sure you can...
2015 Oct 22
0
pam_winbind could not lookup name
...= yes idmap config *: backend = tdb idmap config *: range = 90000001-100000000 idmap config MEDITURE: backend = ad idmap config MEDITURE: range = 10000-90000000 idmap config MEDITURE: schema mode = rfc2307 I verified I have the schema. ldbsearch -H /usr/local/samba/private/sam.ldb -s base -b CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=mediture,DC=dom # record 1 dn: CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=mediture,DC=dom objectClass: top objectClass: container cn: ypservers instanceType: 4 whenCreated: 20141126165518.0Z whenChanged: 20141126165518.0Z uSNCreated: 60503 uSNChang...
2016 Aug 30
2
Samba4 Centos 7 - CPU 100%
...“old samba 3 “ domain was not a domain. > > I dont know if that hurts the upgrade. From reading his old smb.conf it appears it was, but I noticed something: Maiquel, can you run this command on a DC and report back with the result. ldbsearch -H /usr/local/samba/private/sam.ldb -b 'CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com' -s sub '(objectClass=msSFU30DomainInfo)' cn | grep 'cn:' | awk '{print $NF}' Replace 'DC=samdom,DC=example,DC=com' with your domain DN I also it take that ldap was running on the machine when yo...
2015 Apr 09
2
samba member logon.. question.
...next () { > ATTR="$1" > if [ -z "${ATTR}" ]; then > error "No Attribute supplied" > error "Cannot continue... Exiting." > exit 1 > fi > _NEXTID=$(ldbsearch -H ${LDBDB} -b > "CN=${domainNETBios},CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,${domainDN}" > -s sub '(objectClass=msSFU30DomainInfo)' ${ATTR} | grep "${ATTR}: " | > awk '{print $NF}') > if [ -z "$_NEXTID" ] || [ "$_NEXTID" -lt "10000" ]; then > _NEXTID=&q...
2016 Aug 30
2
Samba4 Centos 7 - CPU 100%
...iquelconsalter at gmail.com> wrote: > >From reading his old smb.conf it appears it was, but I noticed > >something: > >Maiquel, can you run this command on a DC and report back with the > >result. > >ldbsearch -H /usr/local/samba/private/sam.ldb -b > >'CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com' > >-s sub '(objectClass=msSFU30DomainInfo)' cn | grep 'cn:' | awk > >'{print $NF}' > >Replace 'DC=samdom,DC=example,DC=com' with your domain DN > >I also it take that ldap...
2018 Jan 15
2
Avoiding uid conflicts between rfc2307 user/groups and computers
On Mon, 15 Jan 2018 16:18:57 +0100 Kacper Wirski via samba <samba at lists.samba.org> wrote: > Hello, > I understand the OP, I was asking some time ago similar question, but > it was in relation to samba domain member. I couldn't get backend: ad > to work for machine accounts, so i switched to idmap: rid and it > solved everything. I tried manually adding UID and GID to
2019 Aug 20
3
Problems with NIS Server on Samba 4
...39; \ /tmp/ypServ30.ldif root at samba4-dc1:/tmp# ldbmodify -H /var/lib/samba/private/sam.ldb /tmp/ypServ30.ldif --option="dsdb:schema update allowed"=true Modified 55 records successfully /etc/init.d/samba-ad-dc start ldbsearch -H /var/lib/samba/private/sam.ldb -s base -b CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=empresa,DC=com,DC=br cn # record 1 dn: CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=empresa,DC=com,DC=br cn: ypservers # returned 1 records # 1 entries # 0 referrals However I noticed that an error arose in replication with Samba4-DC2, as follows:...
2017 Aug 02
1
Bulk add users and rfc2307 attributes questions
...I do not understand the above statement. > > What you are missing, is a couple of attributes 'msSFU30MaxUidNumber' & > 'msSFU30MaxGidNumber' (note 'Max' is microsoft for 'next'). These > should be in 'CN=<your lowercase domain > name>,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=YOUR,DC=DNS,DC=DOMAIN' So if I understand you, I would do something like: ldbsearch -H /usr/local/samba/private/sam.ldb -b CN=samdom,CN=ypservers,CN=ypServ30,\ CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com | grep msSFU30MaxUidNumber to get the ne...
2020 Nov 03
1
Get last uidNumber
...to your self ? > > How do you think the Unix attributes tabs worked in ADUC ? > > You had to to install IDMU with ADUC which installed an ldif that Samba > calls ypServ30.ldif. Amongst the objects that are installed in AD is one > with the DN: > > CN=<workgroup>,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=X > > Where <workgroup> is your Netbios domain name (aka workgroup) and DC=X > is the ldap default naming context e.g. DC=samdom,DC=example,DC=com > > Now what isn't there are the two attributes you need to store the next > uidN...
2016 Aug 30
0
Samba4 Centos 7 - CPU 100%
>From reading his old smb.conf it appears it was, but I noticed >something: >Maiquel, can you run this command on a DC and report back with the >result. >ldbsearch -H /usr/local/samba/private/sam.ldb -b >'CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com' >-s sub '(objectClass=msSFU30DomainInfo)' cn | grep 'cn:' | awk '{print >$NF}' >Replace 'DC=samdom,DC=example,DC=com' with your domain DN >I also it take that ldap was running on the m...
2019 Aug 20
0
Problems with NIS Server on Samba 4
...root at samba4-dc1:/tmp# ldbmodify -H /var/lib/samba/private/sam.ldb > /tmp/ypServ30.ldif --option="dsdb:schema update allowed"=true > Modified 55 records successfully > > /etc/init.d/samba-ad-dc start > > ldbsearch -H /var/lib/samba/private/sam.ldb -s base -b > CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=empresa,DC=com,DC=br > cn > # record 1 > dn: > CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=empresa,DC=com,DC=br > cn: ypservers > > # returned 1 records > # 1 entries > # 0 referrals > > > However I noticed that...
2016 Aug 30
1
Samba4 Centos 7 - CPU 100%
...rom reading his old smb.conf it appears it was, but I noticed > > > >something: > > > >Maiquel, can you run this command on a DC and report back with > > > >the result. > > > >ldbsearch -H /usr/local/samba/private/sam.ldb -b > > > >'CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC= > > samdom,DC=example,DC=com' > > > >-s sub '(objectClass=msSFU30DomainInfo)' cn | grep 'cn:' | awk > > > >'{print $NF}' > > > >Replace 'DC=samdom,DC=example,DC=com' with your dom...
2015 Apr 09
3
samba member logon.. question.
El 09/04/15 a les 16:20, Rowland Penny ha escrit: > On 09/04/15 14:58, Luca Olivetti wrote: >> El 09/04/15 a les 14:57, Andrey Repin ha escrit: >>>> Using the RFC2307 attributes, you will get the same ID number on every >>>> Unix machine, whereas if you use the 'rid' backend, whilst you should >>>> get the same ID on each Unix machine, you will
2018 May 29
4
Scripting the next UID/GID number to use
...; # UPDATE msSFU30MaxUidNumber/msSFU30MaxGidNumber > # Input : $1 $2 > # $1: what to update (msSFU30MaxUidNumber or msSFU30MaxGidNumber) > # $2: Next Number > # > # Output : Nothing > _updatemax () { > echo "Updating $1" > > newid="dn: CN=$domainNETBios,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$domainDN > changetype: modify > replace: $1 > $1: $2" Actually, you would want to use (something like this, not tested): changetype: modify add: $1 $1: $2 delete: $1 $1: $2 This is called a constrained update, and avoids a race where the value...
2016 Aug 08
4
UNIX attribute UID no longer increments with RSAT
Hello, I'm using rfc2307 to enable Unix attributes on my DC's. Recently when adding a user and attempting to add a UID with the RSAT, I receiving the following error. 'Duplicate UID. Assign a uniqueUID.' How do I list all users and their UID? I tried using 'pdbedit' and wbinfo. Pdbedit appears to list the XID's and wbinfo needs me to specify a user name. I
2017 Oct 10
4
Domain member server: user access
Am 2017-10-10 um 09:57 schrieb Rowland Penny via samba: > On Tue, 10 Oct 2017 09:19:11 +0200 > "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote: >> >> The admin there created a group via RSAT. >> And that group was not visible/usable on the DM server. > > It wouldn't be if the group was created as just a windows group. How to