Displaying 20 results from an estimated 152 matches for "smbpassword".
1999 Sep 03
0
smbpassword and smb.conf
I have been trying to use security=domain and hence have to use smbpassword
to create a domain account. Since my default setup has an smb.conf file in a
non-standard place, my primary smb.conf file consists of
[global]
config file=/path/to/smb.conf.%h
This works fine for smbd and nmbd but trying to run smbpassword returns the
following error
./bin/smbpasswd -j DOMAIN
N...
2004 Oct 13
2
'credentials' file doesn't work - also observed by others
...e=<user>/<domain>,uid=<user>,gid=<user>,password=<password> 0 0
but this is insecure. I tried using credentials:
//<server>/<share> /mnt/point smbfs
user,noauto,username=<user>/<domain>,uid=<user>,gid=<user>,credentials=/etc/smbpassword 0 0
where /etc/smbpassword contains
username=<user>/<domain>
password=<password>
but I get an error:
1741: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
(I think '1741' is a PID - it changes each time.)
To forstall some suggest...
1999 Aug 29
0
smbpassword modification & logon scripts
Hello!
I've got two questions for which I haven't been able to find an answer after
searching the web and the list archives.
* Is it in any way possible to, from a per-user logon script, find out if
the user belongs to a specific Unix group? I guess this would get pretty
tricky, but is it possible at all?
* I need to create a script/program that removes a user from a Unix system.
The
2004 Oct 28
1
pam_ldap for unix accounts, smbpassword for samba?
Is this setup possible? I am converting an old server to look on LDAP for its
UNIX account info. I am able to auth in every way with a LDAP-only user
(login, telnet, ssh, su). However, after adding the user with smbpasswd -a,
the password doesn't work:
[root@furnsrv log]# smbpasswd -a testuser
New SMB password:
Retype new SMB password:
Added user testuser.
[root@furnsrv log]# smbclient
2009 May 15
4
Timing in a script
Hi, all --
I am trying to write a script in which I can add users and their samba passwords easily and quickly.? It looks something like:
?? useradd -c "User Name" -g groupname -p unixpassword accountname
?? echo -e "smbpassword\nsmbpassword\n" | pdbedit -a -t -u accountname
If
I type the lines from the keyboard, it works fine.? However, when I try
to execute the script, the pdbedit on the second line reports that
there's no unix accountname to apply to samba.? I assume that this is
because the useradd process ha...
1998 Jun 19
0
samba-1.9.18p8/smbpasswd on AIX
...r.c", all about "Function argument assignment between types
"unsigned long*" and "int*" is not allowed."
I use encrypted passwords and have a smbpasswd password file in the
ususal place. I can mount samba share OKAY. From "root" I can add
users to the smbpassword file and change user's smbpasswords but
USERS CAN'T change their smbpasswords.
When they try, the log.smb indicates:
Can't set uid (AIX3)
Can't set uid (AIX3)
Are permissions not correctly set to allow "smbpasswd" function any
longer from a user's account???
Ultimat...
2005 Jun 09
1
Functioning Samba Install has one desktop causing a complaint ...
... On a LAN consisting of a box with Linux 2.4.21-138-smp using Samba version 2.2.5-UL, all the boxes can log in and see the shares (windoz xp, 2000, me - all smbpasswords set to none), except one that is windoz98. Attempts to connect get "IPC$" login messages. The box that gets the message has a directory/password/smbpassword (set to none) on the Linux machine.
Is this due to the windoz version (98)?
Thoughts?
TIA
Jerry
Everything I learn g...
2009 Dec 15
1
Auitomatic Password synchronisation
I have set up Samba on a Debian Lenny server. I have set up the users
by using 'adduser' and then using 'smbpassword -a username' to add the
users to the Samba users database.
The users have the same username on both their Windows Client and the
Samba server.
my smb.conf
security = user
username level 2
encrypt passwords = true
obey pam restrictions = yes
unix password sync = yes
passwd p...
2009 Nov 10
1
samba credentials file - hit and miss?
...for them.
For me, using the username and password at the CLI works fine though.
I used these threads as examples and I have done pretty much the same.
http://lists.samba.org/archive/samba/2004-October/094265.html
http://www.troubleshooters.com/linux/samba.htm
My credentials file /etc/samba/smbpassword is very simple.
$ cat smbpassword
user=jdoe
password=XXXXX
Some say to use spaces like "user = jdoe", but makes no difference.
Is this a samba bug? I can share more details of what I've done if requested.
~af
2007 Dec 10
1
[Problem] [Centos 5] Samba-3.0.23c-2 login authentication problem
...security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smdpasswd
[kiran]
comment = Funda Tracking Managements Files
path = /home/kiran
valid users = user6
writeable = on
2) I created user "user6" and changed password in to
smbpassword using the following command.
#cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
3) I changed /etc/samba/smbpassword file permissions as
follows
#chmod 600 /etc/samba/smbpasswd
4) linux client side
4a) In this step I provided User-name and Password
#smbclient -L 192.168.0.254 -...
1997 Aug 02
7
Encryption
Kevin,
Firstly, you need to obtain the DES libraries.
Then you need to tell the Samba Makefile that you wish to compile in DES encryption services and link
with the DES library.
Then in the smb.conf file you need to add to the [Globals] section:
encrypted passwords = yes
Then you need to create a separate smbpasswd file. Please read the documentation in the docs directory
of the Samba source
2007 Nov 19
1
Can not mount CIFS-Share on bootup (SELinux Problem)
Hello everybody, i am trying to mount a CIFS-share while booting,
providing a credential file for the share (/root/smbpassword) - without
success (with SElinux turned on). The share will get mounted just fine
when typing mount -a on the shell. And it also will get mounted
automatically during boot when SELinux ist turned off.
I have searched the documentation, but i have no clue which SElinux
context is the right one for...
2011 Jun 16
2
kb2536276 causing issues with non encrypted password configuration
Many of my clients installed kb2536276 on their windows client and can no
longer connect to my samba server. Their sessions don't even get logged. I
upgraded to 3.5.9 on my test server with no luck. Encrypted with local
authentication to the smbpassword file seems to work fine, but I need the
servers running non encrypted samba to work. I'm running 3.5.6 on AIX 5.3
using PAM auth and encrypt passwords = no.
Checked admin security setting in windows to make sure they were set to
allow non encrypted passwords.
[>cat smb.conf
[global]...
2006 May 22
3
Errors accessing smbfs share after upgrade to redhat ES4.0
I used to mount following share using samba client on
RHEL 3.0 without any problems. Then I installed ES4.0
and I started seeing problems with these samba shares.
I have following line in fstab to mount the share :
//bizgroup/wli1 /wli1 smbfs
uid=501,gid=501,credentials=/etc/samba/.smbpassword
0 0
and /etc/samba/.smbpassword contains following
username=xxxxxxx
password=xxxxxxx
workgroup=xxxx
and when I mount one of these file systems, I see
following lines in messages file :-
May 4 10:34:20 beatest4 kernel: smb_add_request:
request [f69b9080, mid=0] timed out!
May...
2003 Oct 24
1
Printing from Win2000
Hello,
I have just started using samba a couple of weeks ago. I am using
Slackware 9.1 and windows 2000. i can see everything. on my windows box i
can see my linux box and visa versa. but i have a HP deskjet 932c on my
linux box and i want to be able to print from windows. windows can see the
printer in network neighborhood but it says that it is unable to connect
access denied. i
2002 Jun 24
3
Weird problem - one machine works another doesn't on new server - both OK on old one.
...ne is from Mandrake
8.2 - SAMBA 2.x).
On the new server one box works just fine and the other can not get a
password through the initial password dialog when trying to connect to
the new server.
All passwords tried were current and valid ( work for login to both the
linux box and the w98 boxes).
smbpassword is established for both users.
The second machine (willow) is equivalent to "jeanne" on the linux box
(the other the SMB name and linux box name are the same).
The above is mapped in smbusers:
jeanne = willow
I've tried everything I can think of with no luck with the second box....
2000 Jan 25
1
nis passwords
Has anyone come up with a creative way to us nis passwords for both encripted
and non-encripted passwords? Or a way to convert the nis password table to
the smbpassword file, without having each user to login and change their
password?
Alan Neiman
alan.neiman@ihs.com
Unix System Administrator
Information Handling Services
2003 Apr 21
1
Samba unable to validate usernames; winbind works
...ror message in the logs:
[2003/04/21 08:28:59, 0]
smbd/password.c:connect_to_domain_password_server(1328)
connect_to_domain_password_server: machine DWP rejected the tconX on the
IPC$ share. Error was : NT_STATUS_ACCESS_DENIED.
I've tried rejoining the domain, but that didn't help. (The smbpassword -j
command returns "Joined domain").
The wbinfo -A command has been run, and the secrets file is correct. Is
there something I'm missing on the domain controller side of things? It's a
Windows 2000 domain controller.
Thanks,
-Tom
2004 Apr 18
1
Unlocking Accounts
Once an account gets the "L" flag set in sambaAcctFlags is there a
utility way to clear the lock on the account? I can clear the
sambaBadPasswordCount with pdbedit -z, but that leaves the account in a
locked state. I don't see any way to use pdbedit or smbpassword to
unlock an account (although I can enable/disable an account).
2004 Sep 20
0
Samba Client in Windows Domain
.../lib/security/$ISA/pam_unix.so
session sufficient /lib/security/$ISA/pam_winbind.so use_first_pass
------------------------------------------------
My /etc/fstab is:
------------------------------------------------
...
//PDC/user1 /home/user1 smbfs credentials=/home/user1/.smbpassword,workgroup=MYDOMAIN 0 0
------------------------------------------------
My /home/user1/.smbpassword is:
------------------------------------------------
username = user1
password = user1
------------------------------------------------
Regards,
--
Abigail Anzola