Displaying 20 results from an estimated 39 matches for "ldapuser".
2002 Nov 12
1
Need clarification
...rying to run samba 2.2.6 + OpenLDAP as user/group
database ( not /etc/passwd). nss_ldap+pam_ldap is installed and
working OK, as I can login using ssh, or trough
console with one of ldap user.
But trying to connect to samba, when samba is ran as
#samba -d 2 -i
I get:
...
init_sam_from_ldap: User [ldapuser] does not ave a uid!
pass_check_smb failed - invalid password for user [ldapuser]
Rejecting user 'ldapuser': authentication failed
...
Does it mean that samba does not use posixaccount ldap user ?
One more question does anybody can confirm/deny that samba 2.2.x
work with users/groups from...
2008 Jun 25
2
/usr/bin/id behavior since CentOS 5.2 upgrade
...ation.sh
/etc/profile.d/vim.sh
The problem is with the test where the command "id" is involved, like:
if [ `/usr/bin/id -u` = 0 ] ;
If I add double quotes ("`/usr/bin/id -u`"), it will work again.
Indeed, as a connected ldap user, the id command returns nothing when
quoted:
[ldapUser at server ~]$ /usr/bin/id -u
12345
[ldapUser at server ~]$ `/usr/bin/id -u`
[ldapUser at server ~]$
As a normal user, the command behaves normally:
[user at server ~]$ `/usr/bin/id -u`
-bash: 1302: command not found
[user at server ~]$ /usr/bin/id -u
1302
I have modified theses two scripts but I...
2006 Apr 07
3
activeLDAP - ldap_mapping - wildcard
...||-subgroup01
||-subgroup02
||-subgroup03
||
|-groupe02
||
|-groupe03
|
-users
||
|-labo01
|||
||-user01
||-user02
||
|-labo02
|||
||-section01
||||
|||-user03
|||-user04
|||
||-section02
||||
|||-user05
I have 2 corresponding classes
#this class of LdapUser work as long as the user is found directly under
"labo01"
class LdapUser < ActiveLDAP::Base
ldap_mapping :dnattr => ''cn'' , :prefix => ''ou=labo01,ou=users'',
:classes => [''top'',''hostObject'', ''pe...
2007 Mar 19
1
Dovecot - with LDAP auth backend
...u))
pass_attrs = uid=user,userPassword=password
Scenario 1
I have (D) set to quota = maildir:storage=10240, did a telnet localhost
143, and logged in, this is what I get
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK Mail ready
a1 login ldapuser password
a1 OK Logged in.
a2 getquota ""
* QUOTA "" (STORAGE 0 10240)
a2 OK Getquota completed.
if I were to change (D) to
quota = maildir
And added in an attribute called "mailquota" in the entry
uid=ldapuser,dc=mydomain,dc=com, give it a value 10240000 (is this
c...
2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is...
I am following the instructions at
http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html
and also here...
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
my model looks exactly like this...
class LdapUser < ActiveRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix => ''People'', :classes =>
[''top'',''account'']
#belongs_to :groups, :class_name => ''Groups'', :foreign_key =>
''memberUid...
2007 Mar 20
1
[Re: Dovecot - with LDAP auth backend]
...u))
pass_attrs = uid=user,userPassword=password
Scenario 1
I have (D) set to quota = maildir:storage=10240, did a telnet localhost
143, and logged in, this is what I get
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK Mail ready
a1 login ldapuser password
a1 OK Logged in.
a2 getquota ""
* QUOTA "" (STORAGE 0 10240)
a2 OK Getquota completed.
if I were to change (D) to
quota = maildir
And added in an attribute called "mailquota" in the entry
uid=ldapuser,dc=mydomain,dc=com, give it a value 10240000 (is this
c...
2013 Jul 12
2
3.5.6 to 3.6.6: session setup failed
...one has the solution for my problem! ;)
After i did the upgrade process in a samba server, from debian squeeze to
wheezy, the new samba version (3.6.6) is not working.
Searching on web, there are many causes for this error, and i dont know
what is mine.
I can't connect with smbclient -L host -U ldapuser, that give me error
"session setup failed: NT_STATUS_UNSUCCESSFUL"
How can i fix this?
2013 Jul 31
1
LMTP: userdb lookup - user-filter with variables
..._filter
(LDAP) with %n, %Ln, %8n without success: userdb lookup:
user at hostname.domain doesn't exist)
dovecot-2.1.17
I used "doveadm user h0094slk" and
"doveadm user h0094slk at mailstore4.hu-berlin.de"
for my tests.
userdb {
driver = ldap
args = /usr/dovecot/etc/ldapuser.conf
}
and ldapuser.conf with
...
user_filter = (&(uid=%n) (objectClass=cmsAccount))
user_attrs = homeDirectory=home
I modified user_filter like uid=%Ln or uid=%8u
success for doveadm user h0094slk (because nothing to split)
userdb: h0094slk
home : /home/p0094/h0094slk
but no success...
2013 Feb 22
6
Samba 4 and freeradius
.../HOWTO/Virtual_Private_Network
Document C: http://www.linuxgfx.co.uk/karoshi/documentation/wiki/index.php?title=Samba4_Testing
The testing to bind the samba 4 server from machine B shows successfully:
ldapsearch -x -W -h file.sambadom.org -b "ou=accounting,dc=sambadom,dc=org" -D "cn=ldapuser,cn=users,dc=sambadom,dc=org" "(cn=peter)"
Also, ldap module of freeradius is configured as follows (ldap part in sites-enabled/default and inner-tunnel is configured also.)
/usr/local/freeradius/etc/raddb/modules/ldap
=============================
ldap {
server = "fil...
2016 Oct 05
0
The security id structure is invalid
...t;> badPwdCount: 0
>> codePage: 0
>> countryCode: 0
>> badPasswordTime: 0
>> lastLogoff: 0
>> lastLogon: 0
>> objectSid: S-1-5-21-1319907214-2951884047-2640289736-1117
>> accountExpires: 9223372036854775807
>> logonCount: 0
>> sAMAccountName: LDAPUser
>> sAMAccountType: 805306368
>> userPrincipalName: LDAPUser at dc1.mydomain.net
>> objectCategory:
>> CN=Person,CN=Schema,CN=Configuration,DC=dc1,DC=mydomain,DC=net
>> pwdLastSet: 130335199430000000
>> lockoutTime: 0
>> userAccountControl: 66048
>> ms...
2016 Oct 06
0
The security id structure is invalid
...odePage: 0
>>> countryCode: 0
>>> badPasswordTime: 0
>>> lastLogoff: 0
>>> lastLogon: 0
>>> objectSid: S-1-5-21-1319907214-2951884047-2640289736-1117
>>> accountExpires: 9223372036854775807
>>> logonCount: 0
>>> sAMAccountName: LDAPUser
>>> sAMAccountType: 805306368
>>> userPrincipalName: LDAPUser at dc1.mydomain.net
>>> objectCategory:
>>> CN=Person,CN=Schema,CN=Configuration,DC=dc1,DC=mydomain,DC=net
>>> pwdLastSet: 130335199430000000
>>> lockoutTime: 0
>>> userAccou...
2015 Apr 23
2
RODC User preload fails
...#39;t rely on a always-on-connetion to
the office.
The problem is now that the user-preload doesn't work so that the RODC
is not able to authenticate the users itself:
samba-tool rodc preload <user> --server <DC1> -U Administrator
Password for [AD\Administrator]:
Replicating DN CN=ldapuser(...)
ERROR(runtime): Error replicating DN CN=ldapusersrv2(...) - (8453,
'WERR_DS_DRA_ACCESS_DENIED')
2016 Oct 06
0
The security id structure is invalid
...gt; badPasswordTime: 0
>>>>> lastLogoff: 0
>>>>> lastLogon: 0
>>>>> objectSid: S-1-5-21-1319907214-2951884047-2640289736-1117
>>>>> accountExpires: 9223372036854775807
>>>>> logonCount: 0
>>>>> sAMAccountName: LDAPUser
>>>>> sAMAccountType: 805306368
>>>>> userPrincipalName: LDAPUser at dc1.mydomain.net
>>>>> objectCategory:
>>>>> CN=Person,CN=Schema,CN=Configuration,DC=dc1,DC=mydomain,DC=net
>>>>> pwdLastSet: 130335199430000000
>>&g...
2009 Mar 01
8
puppet and LDAP users
I am trying to get puppet to manage my LDAP users but I don''t appear
to be having much success. What I have in puppet.conf is this
[puppetmasterd]
ldapserver=ldap.myorg.company.com
ldapbase=dc=myorg,dc=org
ldapuser=cn=admin,dc=myorg,dc=org
ldappassword=mysecret
ldapparentattr=dc=myorg,dc=org
I added the ldapparentattr in desperation and doubt if it''s actually
required. Now I have a class which says
user { "myuser":
uid => 500,
gro...
2016 Oct 04
29
The security id structure is invalid
I recently upgraded Samba on my DC from a working 4.3 installation to
4.5.0. Once done, I followed the instructions here:
https://wiki.samba.org/index.php/Updating_Samba#Fixing_replPropertyMetaData_Attributes
and ran:
samba-tool dbcheck --cross-ncs --fix --yes
After that, I can no longer access the shares on this machine. I get the
"Security ID structure is invalid" error above. In
2016 Oct 06
0
The security id structure is invalid
...gt; badPasswordTime: 0
>>>>> lastLogoff: 0
>>>>> lastLogon: 0
>>>>> objectSid: S-1-5-21-1319907214-2951884047-2640289736-1117
>>>>> accountExpires: 9223372036854775807
>>>>> logonCount: 0
>>>>> sAMAccountName: LDAPUser
>>>>> sAMAccountType: 805306368
>>>>> userPrincipalName: LDAPUser at dc1.mydomain.net
>>>>> objectCategory:
>>>>> CN=Person,CN=Schema,CN=Configuration,DC=dc1,DC=mydomain,DC=net
>>>>> pwdLastSet: 130335199430000000
>>&g...
2013 Mar 08
1
problems with samba upgrade from 3.5.4 to 3.6.9
...a server shared only files, so we can access with the win7 clients (and OpenLDAP credentials) to the files on the linux environment.
So after upgrade we don't can connected us to the samba share. I have tested the connection with the tool smbclient "smblcient -L <servername> -U <ldapuser>" and returned the error "session setup failed: NT_STATUS_INTERNAL_DB_CORRUPTION".
I had read something about new security features, and in the most articles I had found problems with winbind and ADS connectivity. But we don't use winbind or else, we use only the linux ldap t...
2012 Oct 26
1
'puppet resource user' questions
When I run "puppet resource user <ldadpuser>" I get a resource definition
back for that user. However, when I run "puppet resource user" I do NOT see
<ldapuser> in the list.
Is this intended behavior? Is there a way to get a list of all users,
whether they are ldap or local?
This node is running puppet 2.7.19 on Ubuntu 12.04 against a 2.7.19 master
on Ubuntu 10.04.
Thanks.
--
You received this message because you are subscribed to the Google Gro...
2004 Feb 18
0
Authentication of user through Win2k to Samba PDC failed
...e = No
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
[supersamba]
user = @ldapusers
path = /usr/local/shares/super
writeable = yes
comment = Samba ist Super
valid users = @ldapusers
[netlogon]
path = /var/lib/samba/netlogon
write list = root
read only = yes
guest ok = yes
browseable = no
[profiles]
path = /var/lib/samba/profiles
browseable = no
read only = no
direc...
2013 Jun 07
1
Folder permissions not working
...n 6 14:39 Ian & Marion
drwxrws--- 5 ian myob 4.0K Jun 5 12:02 MYOB Accounts
drwxrws--- 41 ian users 4.0K Jun 4 16:03 Plant Health
drwxrwsr-x 8 ian users 4.0K Jan 8 07:49 Research
drwxrws--- 12 ian users 4.0K Apr 16 16:57 Staff
drwxrws--- 21 ldapuser coffeecentre 4.0K Jun 5 13:32 The Australian
Coffee Centre
I have a user (marion) who is a member of all these groups and more:
# groups marion
admins users coffeecentre accounts domadmins domusers myob
The issue is, Marion can't access the folder called "The Australian
Coffee Centr...