search for: _nextid

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

2015 Apr 09
2
samba member logon.. question.
...umber > # Output : the first free uidNumber or gidNumber > _findnext () { > 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" ] || [ &q...
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
2015 Apr 09
3
samba member logon.. question.
...; _findnext () { >>> 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...
2015 Apr 09
0
samba member logon.. question.
...# $1 : msSFU30MaxUidNumber or msSFU30MaxGidNumber # Output : the first free uidNumber or gidNumber _findnext () { 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"...
2015 Apr 09
0
samba member logon.. question.
...dNumber or gidNumber >> _findnext () { >> 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&...
2015 Apr 09
0
samba member logon.. question.
...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}') >>>...