Debian Configuration :: Cannot Use RSAT With Samba PDC
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
ADVERTISEMENT
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
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
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
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
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
Jan 2, 2016
I just upgraded to jessie and now Samba won't let me log in anymore. I merged smb.conf manually. It now looks like this (removed comments):
Code: Select all[global]
workgroup = WORKGROUP
dns proxy = no
bind interfaces only = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
[Code] .....
With smbclient logs as follows:
Code: Select allsmbclient -L 192...
Enter user's password:
session setup failed: NT_STATUS_UNSUCCESSFUL
If I provide a wrong password, it raises NT_STATUS_LOGON_FAILURE, also if retry with the correct password.
Not sure about what resolved the issue. But after I purged samba, reconfigured it, added the users AND set www-data's shell to bash again (which was changed during the update), it now seems to work
View 0 Replies
View Related
Jan 27, 2016
When I boot up, or come out of standby, etc, it takes about a minute for my Windows shares on Win 7 to show up under Network. Is there anything I can try that will make this initial connection faster? Either on Debian or the Win7 machine? I have the latest Debian vanilla. This is over wifi. My other devices list the shares right away.
View 1 Replies
View Related
Feb 24, 2010
I've setup a samba pdc, everything works like a charm.. except for the windows theme of the ldap users.Whenever a user logs in on the xp client.. the xp client automaticly switches to classic view instead of the normal xp-style.
View 2 Replies
View Related
Mar 14, 2010
I just upgraded samba on my lenny-server:
apt-cache policy samba
samba:
Installed: 2:3.4.7~dfsg-1~bpo50+1
...and since then my windows xp clients cannot follow a symbolic link to a common area from their home folders.
I have googled and tried to add follow symlinks and wide links to my homes share
[homes]
= Home Directories
browseable = no
follow symlinks = yes
wide links = yes
...but after restarting samba on the server and rebooting the windows machine the user still cannot follow the link.
View 3 Replies
View Related
Apr 20, 2010
I've got a server with bit of chaos on it. There is similar data on different partitions which I like to mount remotely with samba. So I setup aufs on the server and then share the merged aufs directory (as read only). All seemed fine, and I was able to mount it nicely. However, when I enter the directory in question does the kernel on the mounting puter start misbehaving.
First it freezes for about a minute. Then I get a bunch of oops-looking messages in dmesg and the system eventually locks up totally. This is what it looks like:
...
[ 882.616497] BUG: soft lockup - CPU#1 stuck for 61s! [bash:2715]
[ 882.616501] Modules linked in: nls_utf8 cifs nvidia(P) agpgart sco bridge stp bnep l2cap bluetooth rfkill cpufreq_userspace cpufreq_stats cpufreq_conservative cpufreq_powersave binfmt_misc fuse loop firewire_sbp2 snd_wavefront snd_intel8x0
[Code].....
View 4 Replies
View Related
Apr 26, 2010
I added my linux server to a windows AD using winbind / samba. Everything worked just fine. After changing the OS to Debian lenny x64 I get a "segmentation fault" when trying to change user passwords. I am using the exact same configuration, on my 32 bit Server everything works.
debian:~# passwd <user>
sgmentation fault
tail /var/log/syslog:
kernel: [689689.005934] passwd[11209]: segfault at 0 ip b7b84418 sp bfc37fc0 error 4 in pam_winbind.so[b7b7e000+b000]
Debian Lenny 5.0
[Code].....
View 2 Replies
View Related
Aug 30, 2010
I have a folder, called Vault, that we want to share only with certain people. Because it will contain confidential information.
I want the unix group trustees to have read-only access I want the unix group administrators (and root) to have read/write access
All other users should have no access.
the implementation I have so far is:
folder owner: root:administrators
folder permissions: 770
section from smb.conf
[Code]....
However, this is not working as expected. It currently works as follows:
Normal user: No access (expected) Trustees member: No access (fail. Trustees should be able to read) Administrators member: Read/write access (expected)
View 3 Replies
View Related
Oct 8, 2010
I'm having trouble making my cifs shares user mountable
from bash: mount.cifs: permission denied: no match for /home/jcress/gatton/webspace found in /etc/fstab
View 1 Replies
View Related
Jul 18, 2011
I've got a fresh Wheezy/Xfce install.I'm trying to access a remote samba share the gigolo way. It is an external USB hard drive connected to my router. I can access it read only using the following URL with Icedove: smb://bbox/
Anyway, this is just to try and give might-be-useful information, but ultimately, I don't really want to use fusesmb. I would rather have the gigolo way working, allowing local network shares browsing, auto-connect, etc.
View 2 Replies
View Related
Aug 19, 2010
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
We have:
5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer
Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.
However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.
however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error
"The server for the printer does not have the correct driver installed...."
I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.
The thing is, I have no idea where CUPS DID put the driver.
On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.
I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.
how to install/setup drivers on a samba PDC, for windows machines?
Also relevant, my smb.conf:
anyone see any possible causes of problems?
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2010/08/19 13:03:07
[code]....
View 12 Replies
View Related
Sep 7, 2010
wants some sort of logging capability on the system. to have a log of every change to every file, although that might be a bit unwieldy. perhaps a simpler compromise would be some way of monitoring a few specific folders, and tracking all changes to them, including the user that did so. Particularly important is that it should be possible to work with access through samba, as we want to track what users on the network are creating or changing files. Is there functionality like this already built into debian or samba? is there a useful additional app to gather this information? or am I going to need to be grep'ing log files to present something useable?
View 2 Replies
View Related
May 1, 2011
I upgraded my testing/Wheezy Inspiron N5010 to 2.6.38-2-amd64 recently (along with a bunch of other updates, of course) and now my Samba network share is no longer automatically mounting, I have to open a root terminal and do a "mount /mountpoint"; my relevant /etc/fstab entry:
I've tried over options, as well, but it isn't automatically mounting. Any suggestions (including where to file a bug report)?
View 3 Replies
View Related