Debian Configuration :: Can't Add Samba User Password?
Aug 24, 2010
I'm running sid, reasonably updated. I decided to add a samba share. I installed samba (2:3.4.8~dfsg-2), samba-tools, smbclient, smbfs, & samba-client. I did a "/etc/init.d/samba start" and even rebooted. But when I try to add a samba password for my regular user I can't.
# smbpasswd -a praxis
bash: smbpasswd: command not found
I did a "locate smbpasswd" but I'm only seeing:
[code]...
View 3 Replies
ADVERTISEMENT
Feb 9, 2011
Howto change user password in live usb-hdd?[URL]you need to copy the
/usr/share/initramfs-tools/scripts/live-bottom/10adduser your build folder:
mkdir -p config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/
cp /usr/share/initramfs-tools/scripts/live-bottom/10adduser config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/
[code]....
View 8 Replies
View Related
May 7, 2015
I'm using Debian Jessie Cinnamon right now. I've got 1 user account on my machine--fred--as well as root, of course. "fred" is an administrator, and many times that is enough for root priviledges, for example, I can install packages via apt or dpkg. However, I cannot access "Users and Groups", or install packages via GDebi, with my password. For that, I have to have the root password.
I know that it is possible to let the admin account handle everything and not even need root--for example, Mint and (I believe) Ubuntu do it this way. I don't know how, though.
Code: Select allgroups fred
fred : fred cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth
I did disable the root account by Code: Select allsudo passwd -l root to see if it would make any change. Nothing different happened except that I now can't use GDebi or access "Users and Groups" since the root account and therefore password is inactivated. Not a big deal to get it back, though.
View 10 Replies
View Related
Apr 12, 2016
I have lost my password for my root and for my user account.
Code: Select alluser@debian:~$ su
Password:
su: Authentication failure
user@debian:~$ su
Password:
su: Authentication failure
user@debian:~$ su
I have just installed a gust debian 8 on debian 8 host in virtualbox, and when i wonted too login as su/root on the host there where no login possible, is there a way to regain the root password for the host?
View 2 Replies
View Related
Oct 1, 2010
I have a Samba installed and configured on a Ubuntu Server 10.04 box, as a file server, not as an PDC. And I have several Windows 7 machines accessing the Ubuntu Server to store files.
I would like to let users to change their passwords from windows.
View 2 Replies
View Related
Jun 13, 2011
I would like to know how to share a folder in samba with no need of password for individual user without using guest
View 5 Replies
View Related
Jun 13, 2011
I would like to know how can I share a folder in samba with no need of user and password with write permission, with no need of using guest user.
View 3 Replies
View Related
Apr 21, 2010
I setup openldap and samba on 9.10. The ubuntu desktop client gets authenticated successfully with the server.
But when I do a passwd on the client, only the ldap passwd is getting changed but not in the samba and the unix user account.
My smb.conf
Code:
passdb backend = ldapsam:ldap://192.168.3.100
ldap suffix = dc=example,dc=local
ldap user suffix = ou=People
ldap group suffix = ou=Groups
[Code]....
View 4 Replies
View Related
Apr 5, 2010
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
View 1 Replies
View Related
Apr 21, 2010
I setup openldap and samba on 9.10. The ubuntu desktop client gets authenticated successfully with the server. But when I do a passwd on the client, only the ldap passwd is getting changed but not in the samba and the unix user account.
My smb.conf
Code:
passdb backend = ldapsam:ldap://192.168.3.100
ldap suffix = dc=example,dc=local
ldap user suffix = ou=People
ldap group suffix = ou=Groups
[code].....
But only the ldap password is getting changed and not in the samba and unix user account.
I tried
unix password sync = yes
but same result.
View 1 Replies
View Related
Sep 24, 2015
I have setup a samba Active Directory PDC to essentially eliminate the cost of using a Windows PDC. There are other reasons but I won't go into those now.
So everything works fine apart from a couple of things that are bugs in samba until 4.2 which isn't stable yet on debian (so I read).
The one thing that doesn't work is users trying to change their passwords. I can change them from either the PDC or through Windows users and groups. If a user tries to change it they will get the message:
"Mutual Authentication Failed. The server's password is out of date at the domain controller".
The packages I have installed and configured are:
samba
smbclient
smbldap-tools
ntp
krb5-user
krb5-admin-server
winbind
I provisioned the domain using samba-tool domain provision, i have configured kerberos and users can log in fine....it is simply changing passwords that are the issue. I am not sure if this is a samba config issue or where it is. I would hate to have to fall back to a Windows PDC.
Below is my samba config, the [domain] is of course an actual domain on the server.
Samba Config:
# Global parameters
[global]
workgroup = [domain short]
realm =[domain]
netbios name = BILBO
server role = active directory domain controller
[Code] .....
View 0 Replies
View Related
May 1, 2016
I had set up as a NT4 style PDC. There is no longer any PDC/BDC dynamic with Samba4 and MS AD support.
I purged samba packages and winbind et al and provisioned the domain correctly, and everything works well now.
What follows is the original post.
==========================================================================================
After much struggling with DNS settings, I finally got a basic samba AD controller up and running, and then that's about as far as I got.
As soon as I tried to use the RSAT I found that I could not connect RSAT to the AD server while logged in as root.
The error I get is:
Naming information cannot be located because: The specified domain either does not exist or could not be contacted. Contact your system adminsiotrator to verify that your domain is properly configured and is currently online.
View 0 Replies
View Related
Sep 13, 2010
I get the following errors when installing samba.
slutb0x:/etc/samba# aptitude install samba-dbg
The following NEW packages will be installed:
samba{a} samba-dbg
0 packages upgraded, 2 newly installed, 0 to remove and 1 not upgraded.Need to get 49.2MB/55.5MB of archives. After unpacking 149MB will be used.Do you want to continue?
[code]...
View 5 Replies
View Related
Aug 1, 2011
I'm using Xfce 4.8, which now provides built-in samba browing in thunar. This works like a charm. I can browse a samba share (external HD connecter to router via USB). Yet it appears to me now that the support is limited to thunar. I mean double clicking on a file allows me to open/edit that file if and only if the software itself has samba support. In practice, double-clicking on a movie opens it with vlc thanks to vlc's own smb support. Even then, I can't find a way to add the subtitle file. I reckon that to use the share transparently, I would need to mount it the "mount" way. Either on a mount point like /mnt/hard_drive or something like .gvfs/hard_drive.
Is my understanding correct ? Is that my only option? Considering the disk won't be switched on at startup, fstab is not the solution. Would gigolo be the right choice? I spent some time trying gigolo a few days ago, following an easy tuto found on the web and it didn't work as expected. If needed I could give it another try.
View 1 Replies
View Related
Aug 30, 2010
I have forgotten my user password....HOWEVER I remembered the root password and am able, (after much fumbling about)to get into the machine. Is there a way of resetting my password? It obviously will not let me do so on the password-reset-screen as it requires the old password....
View 1 Replies
View Related
Oct 20, 2014
I've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.
Output of "systemctl status samba.service":
Code:
Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba)
Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago
Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)
Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating.
Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).
[Code] ....
Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.
View 2 Replies
View Related
Feb 15, 2016
I currently have a Samba share on a Debian 7 system. This share was only ever used by Windows systems on the network.
I just finished setting up a Debian 8 system with Xfce, and now I would like to connect to the share. I already installed gvfs-backends and gvfs-bin. When I go to Thunar file manager, and click browse network, I'm presented with a "Windows Network" shortcut. When clicked it says: Failed to open "Windows Network". Failed to retrieve share list from server: No such file or directory.
View 8 Replies
View Related
Mar 12, 2016
Following yesterday's and then today's upgrade of my Debian 8 32-bit system (among other things to samba 2:4.1.17+dfsg-2+deb8u2 (yesterday: ...deb8u1)) I cannot connect my Mint 17.3 laptop to the server anymore. Were there any changes to smb.conf regarding authentication or other aspects that might lead to this problem? I am enclosing part of my smb.conf. By the way - I also have trouble using ssh to connect to the Debian machine, such as the ssh-command taking "for ever" and then getting the message "Write failed: Broken pipe" when entering an ls-command on the command line.
H. Stoellinger
smb.conf:
[global]
workgroup = RAINERMUSIK
netbios name = hsdesk
server string = Samba Server hsdesk
[Code] ....
View 1 Replies
View Related
Mar 29, 2016
Let me introduce myself, my name is Carlos Alegría from Chile and I'm System administrator for a educational Institute. We use samba+ldap, for login accounts and file sharing but we not use samba with PDC.
Long time ago at the 2009 year, I was Installing the same system and this worked perfectly. But on our summer the hard disk of server has broken, so i was need installing all the system again. So the problem is with SAMBA, when i connect to the network resource, this is to slow, and when i try transfer files are slow.
My sistem is on Debian 8 Jessie and the Samba Version is 2:4.1.17+dfsg-2+deb
Code: Select all[global]
workgroup = LABORATORIO
netbios name = Shinigami
server string = debian
[Code].....
View 0 Replies
View Related
Mar 10, 2010
Is it possible (on lenny, in case that matters) to backup some directories with rdiff-backup, with the target being a WinXP Pro Host, i.e. the target being a SMB share? My idea is to start the XP-Box over WOL, run rdiff-backup and then shut it down using "net rpc SHUTDOWN"...
View 1 Replies
View Related
Jun 11, 2010
Using Debian 5.0 Stable, with all current updates, if I type \192.168.0.249 I get samba access and can use all the shared files ok.if I go via the network the computer should be called \squ-eee-zeboxserver but instead comes up as \SQU-EEE-ZEBOXSERsqu-eee-zeboxserver which when clicked gives the attached error.
View 11 Replies
View Related
Aug 22, 2010
I'm trying to setup roaming profiles on our Samba PDC. I've been at it all day, running into a lot of issues with access denied, and going around changing permissions hoping to fix it
The problem seems to have evolved over the day, getting worse. Right now it's an error message on logging in: Windows cannot locate the server copy of your roaming profile.....
DETAIL- The network name cannot be found. In addition, the user does not have access to any shares by default.
The server can be accessed manually and the user can connect to shares. The server can be pinged by the client. The client's user profiles do not get stored or retrieved on logout/in
current smb.conf
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2010/08/22 16:34:42
[global]
workgroup = ROSHNI.LOCAL
[Code].....
View 4 Replies
View Related
Sep 2, 2010
I just noticed after installing a new server with samba that a portscan will show the samba used ports. This server has two interfaces, a world address eth0 and an intranet eth1. The samba ports show in scanning either interface, even after I changed samba to listen only to the intranet (192.168.x) address.
I am concerned especially about the 139 and 445 ports, which could attract a lot of garbage traffic.This is Debian 5.05 default samba installation.Otherwise similarly installed Ubuntu box with two interfaces does not show samba at all, even though smbd is running and working just fine.
View 4 Replies
View Related
Sep 17, 2010
I've been at this for hours now and am still not getting it to work. I recently installed Squeeze on my home server, overwriting a Lenny installation. I've been able to add my NT domain accounts back in and pdbedit shows the expeted values - e.g.:
root@whenim64:/home/samba/profiles# pdbedit -Lv garydale
Unix username: garydale
NT username:
Account Flags: [U ]
User SID: S-1-5-21-832165970-4128531365-4003982369-1002
Primary Group SID: S-1-5-21-832165970-4128531365-4003982369-513
Full Name: Gary Dale
[Code].....
However, although I can log on, I can't get the roaming profiles working. I get the "windows cannot locate the server copy of your roaming profile" message. Since my Unix account names/numbers are the same and the profiles are in the previously working /home folder that didn't get touched, I can't see how it''s a permissions problem. Noneheless, I removed an old profile which should have let WIndows create a new one. It didn't. I still got the same error. I did have to reinstate the groupmaps (don't know why the samba install doesn't do this) but they seem OK.
[Code].....
View 2 Replies
View Related
Mar 12, 2011
I noticed that KDE does not have a way to browse for network printers like Gnome does. I installed system-config-printer to fix this(if there is a KDE route that would be nice as well). Anyway, I go to add a printer and select "Network Printer" and click "Windows Printer via SAMBA". This is where i would typically press "Browse..." but it is unclickable. This leads me to believe that I am missing a package. Essentially my question is: What are the necessary packages to access Windows printers via SAMBA with system-config-printer?
View 3 Replies
View Related
Mar 29, 2011
I installed the Gnome desktop CD1 AMD 64 version of Debian Squeeze. I installed samba and python-smbc. I am missing samba printers in my system-config-printer. Anyone know why? [url]
View 2 Replies
View Related
Mar 13, 2011
just started using Debian today and I would like to know how can I disable the user acount password, I am the only user on this computer so I would like it to boot strait into my account.
View 3 Replies
View Related
Jan 26, 2011
I'm on Squeeze with KDE 4.4.5. Basically, I can use my password for things like logging in, or authenticating on a shell with sudo successfully. But in other cases, I am asked to "become root", and when I enter my usual password, I'm told to check if I entered my password correctly. This happens with Aptitude (terminal GUI), for example: from Actions, I try to update the package list, and when I enter my password, I can read su: Authentication failure. However, if I start Aptitude by typing kdesudo aptitude on Konsole I can enter my password in the authentication box successfully, and use Aptitude with administrative privileges.
The example is valid also for other applications, such as System Monitor: just for the sake of the example, if I try to stop a process owned by root, say Aptitude, I'm asked for a password to become root, but my password doesn't do the trick. I'll have to open it from terminal with kdesudo ksysguard, then I'll be allowed to kill that process. Does it have anything to do with my choice at installation? I think I must have chosen to leave the root password field blank, and only entered my password as a user, for it explained I could become root anytime if there was need to with sudo.
View 14 Replies
View Related
Aug 26, 2015
I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun
The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :
# Samba Trash
#--------------------------------------------
# http://samba.org/samba/docs/man/Samba3-HOWTO/VFS.html
[code]....
The samba trash work for an another site of our company.
View 0 Replies
View Related
Dec 3, 2015
I am trying to configure samba for a stripped down file server. I am running debian with command line only. My problem is that I cannot unmask samba.
See below:
root@debian:/home/aaron# service samba status
● samba.service
Loaded: masked (/dev/null)
Active: inactive (dead)
I have tried "sudo systemctl unmask samba.service". I receive no errors however it does not actually unmask. I can't find anything online regarding a service stuck on masked status.
View 12 Replies
View Related