Sponsored Content
Full Discussion: Samba query
Top Forums UNIX for Advanced & Expert Users Samba query Post 302252508 by avronius on Wednesday 29th of October 2008 04:35:26 PM
Old 10-29-2008
Samba query

I have a series of hosts (Solaris 8,9 & 10) that are successfully providing samba shares. They are all using Samba 3.0.2a, and authentication is via a Windows 2000 password server.

Everything breaks when the password server is patched beyond the first Windows Service pack.

Here are the contents of smb.conf
Code:
# Global parameters
[global]
        workgroup = WINTEL
        security = DOMAIN
        password server = windowspdc.domain.com
        log level = 3
        syslog = 4
        log file = /var/log/samba.%m
        name resolve order = host bcast
        hostname lookups = Yes
        ldap ssl = start tls
# use uids from 10000 to 20000 for domain users
        idmap uid = 10000-20000
# use gids from 10000 to 20000 for domain groups
        idmap gid = 10000-20000
# Get specific share information from external files:
include = /usr/local/etc/smb.conf.%h

We need to be able to continue to provide samba shares (for oracle logs, etc.), even after the domain controllers are patched. We can't be the only shop that is having this type of issue...

Any ideas?
 

10 More Discussions You Might Find Interesting

1. Programming

Samba 2.2.4

Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter... thanks (0 Replies)
Discussion started by: marvin51796
0 Replies

2. UNIX for Dummies Questions & Answers

Need Samba Help

Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated. Thanks, Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies

3. UNIX for Dummies Questions & Answers

Why use Samba?

Hi, I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba". From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users. That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies

4. UNIX for Dummies Questions & Answers

SAMBA Help

All, I have a Red Hat EL5 server running Samba 3.0.23c integrated with AD. When I try to access from windows by server name it asks for a username and password, but when I access it via IP I can see it. Has anyone seen this before? I need to have it setup where people do... (3 Replies)
Discussion started by: kjbaumann
3 Replies

5. Shell Programming and Scripting

add the output of a query to a variable to be used in another query

I would like to use the result of a query in another query. How do I redirect/add the output to another variable? $result = odbc_exec($connect, $query); while ($row = odbc_fetch_array($result)) { echo $row,"\n"; } odbc_close($connect); ?> This will output hostnames: host1... (0 Replies)
Discussion started by: hazno
0 Replies

6. UNIX for Dummies Questions & Answers

Samba

after creating username/passwd, vi /usr/lib/smb.conf file comment = dropoff location path = /tmp/droloc browsable = No available = yes public = no writable = yes printable = no create mode = 777 valid users = tjmann,palexander,bmartin,.... instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies

7. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

8. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

9. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies

10. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
IDMAP_TDB(8)															      IDMAP_TDB(8)

NAME
idmap_tdb - Samba's idmap_tdb Backend for Winbind DESCRIPTION
The idmap_tdb plugin is the default backend used by winbindd for storing SID/uid/gid mapping tables and implements both the "idmap" and "idmap alloc" APIs. IDMAP OPTIONS
range = low - high Defines the available matching uid and gid range for which the backend is authoritative. Note that the range commonly matches the allo- cation range due to the fact that the same backend will store and retrieve SID/uid/gid mapping entries. If the parameter is absent, Win- bind fail over to use the "idmap uid" and "idmap gid" options from smb.conf. IDMAP ALLOC OPTIONS
range = low - high Defines the available matching uid and gid range from which winbindd can allocate for users and groups. If the parameter is absent, Win- bind fail over to use the "idmap uid" and "idmap gid" options from smb.conf. EXAMPLES
The following example is equivalent to the pre-3.0.25 default idmap configuration using the "idmap backend = tdb" setting. [global] idmap domains = ALLDOMAINS idmap config ALLDOMAINS:default = yes idmap config ALLDOMAINS:backend = tdb idmap config ALLDOMAINS:range = 10000 - 50000 idmap alloc backend = tdb idmap alloc config:range = 10000 - 50000 AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. IDMAP_TDB(8)
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy