Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 09:52 AM
08-25-2003 09:52 AM
SAMBA
I am running SAMBA on a Redhat9 system using Samba ver 2.2.7a. Everything is working properly. I configured it through SWAT and my linux system talks to Win2k just fine. Here is my problem. The NT side of the house wants to administer the shares from the NT end, not SWAT on the linux box. When I go to Control Panel,Admin Tools,Computer Management and connect to another computer(Linux SAMBA) I can see the shares. If I try to modify the permissions I get an access denied. Can someone clue me in on what to try to fix this.
Attached is my config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 10:19 AM
08-25-2003 10:19 AM
Re: SAMBA
swat is nice, but working the configuration files yourself is better.
On the Linux Box:
modify the smb.conf file resetart samba
service samba restart
On the NT box: Make your changes, and reboot the box after the change. Getting NT changes to take and be properly available to non-windows client is an annoying design flaw in Windows itself.
I think swat looks nice but stopped using it for day to day changes months ago.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 10:33 AM
08-25-2003 10:33 AM
Re: SAMBA
http://de.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#AEN401
for more details. As I've seen from your configuration file, you had done this ok - at least on Samba configuration file (have you issued the "smbpasswd -j" command?).
Also, as this links points out, there's the way of using WinBind for you don't have to create UNIX/Linux and NT accounts back and forth:
http://de.samba.org/samba/docs/man/winbind.html
HTH,
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 10:33 AM
08-25-2003 10:33 AM
Re: SAMBA
Not sure about your answer. I am confused. I understand about configuring a share through swat or config file. What I am trying to do is administer the shares from the NT side. Am I confusing you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 10:51 AM
08-25-2003 10:51 AM
Re: SAMBA
First day in the office in two weeks.
In order to administer the shares from the NT side the following needs to be set up:
A user created on the Linux side with rights and a password to administer all the shared folders. It should not be root. It should not be the samba user in /etc/passwd
Next for full access, the command smbpasswd -a
Then the NT user browses onto the shares, and at first attempt should be prompted for a user name and password.
Do I sound less confused this time?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 11:33 AM
08-25-2003 11:33 AM
Re: SAMBA
Yes I am just back from vac also, a little foggy. I'll try your suggestion, and re-post tomorrow. I'll assign points then too. I am a little tired right now, I think I'll go home.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 12:05 PM
08-25-2003 12:05 PM
Re: SAMBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 12:24 PM
08-25-2003 12:24 PM
Re: SAMBA
on the Linux box.
cd /share
chown admin:adgrp *
chown admin:adgrp /share
admin is the user created in the prior step to administer the shares. The adgroup is the same thing.
Now access should not be denied.
The users accessing and modifying this data should be in a common group.
I know you're probably home, but give it a shot and let me know what happens. I get home late today, but will try and play with a Red Hat 9 box when I get there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 04:18 AM
08-26-2003 04:18 AM
Re: SAMBA
I really appreciate your help on this. We don't have a contract for RH9 support yet and people are beating me up on this. I created an "admin" user and a "adgrp" group. I changed permissions on the share to amin:adgrp. Still no luck. Do I need to run a "smbpasswd -t 'domain-name' to add Samba to the NT domain?
Any help is appreciated, greatly.
RPM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 06:00 AM
08-26-2003 06:00 AM
Re: SAMBA
* create a machine account on your PDC. In Windows 2000, you'll have to go to your AD server, create a "New Computer" object. You'll have to check the box "Allow pre-Windows 2000 computers to use this account". Make sure the user that can join the computer to the domain is correct.
* join the Samba server to the domain by using smbpasswd -r PDC_NAME -j DOMAIN_NAME, where PDC_NAME is the name of the AD server; DOMAIN_NAME should be self-explicative. ;-)
Also, make sure that your Samba configuration has these lines:
encrypt passwords = Yes
security = domain
workgroup = "name of NT domain"
password server = *
As per Samba documentation, when you use "password server = *" smbd will find a password server for you.
HTH
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 09:49 AM
08-26-2003 09:49 AM
Re: SAMBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 10:34 AM
08-26-2003 10:34 AM
Re: SAMBA
smbcontrol -d 4 smbd debug
and take a look to see if you find something disturbing when you're trying to change share permissions. Post the results in the forum if you can.
[]'s
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 10:59 AM
08-26-2003 10:59 AM
Re: SAMBA
"smbcontrol -d" will only affect the debug level of smbcontrol itself.
HTH
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 12:19 PM
08-26-2003 12:19 PM
Re: SAMBA
Now, whats the permissions on them.
cd /directory # I forget the name.
ll
The owner of the files should be displayed, and for the admin user to make changes to the files, there needs to be write permissions.
You probably need to make sure the owner has w write rights.
Same as the directory.
ll /directory
The owner should be the user you created and after the d the first three characters should include a w.
example.
ll /directory
drwx------
Those last six dashes aren't important because the owner is administering them. To administer this share, you are going to need w(write) permissions to at least the owner.
As far as the overall goal, NT connected as the admin user should be able to make changes, but to actually connect to it and change the share characteristics, I'm not so sure that level of compatability is there. I fuzzily remember an instructor at HP World 2002 saying this was possible.
Perhaps one of the options in your smb.conf file.
Very good call and getting integrated into the domain.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 05:38 AM
08-28-2003 05:38 AM
Re: SAMBA
Let us know.
[]'s
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 03:29 AM
08-29-2003 03:29 AM
Re: SAMBA
10x
RPM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 01:43 PM
08-29-2003 01:43 PM
Re: SAMBA
For each share you want to manage from windows, add the line "admin users = admin".
From the smbd.conf man page:
"admin users (S)
"This is a list of users who will be granted administrative privileges on the share. This means that they will do all file operations as the super-user (root).
"You should use this option very carefully, as any user in this list will be able to do anything they like on the share, irrespective of file permissions.
"Default: no admin users
"Example: admin users = jason"
See also the directive "username map".
HTH
Paulo Fessel